#9da258
a balanced, soft yellow · warm · closest name: Dark Khaki
At a glance
Every number on this page in one read: what #9da258 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #9da258 |
| RGB | rgb(157, 162, 88) |
| HSL | hsl(64, 30%, 49%) |
| CMYK | cmyk(3%, 0%, 46%, 37%) |
| LAB | lab(64.7 -13.0 37.7) |
| LCH | lch(64.7 39.9 109.0) |
| OKLCH | oklch(0.692 0.098 112.1) |
| Decimal | 10330712 |
| Display P3 | color(display-p3 0.616 0.635 0.345) |
Copy-ready code
/* CSS */
color: #9da258;
background-color: #9da258;
/* Tailwind (arbitrary) */
class="text-[#9da258] bg-[#9da258]"
/* SCSS */
$brand: #9da258;
/* SwiftUI */
Color(red: 0.616, green: 0.635, blue: 0.345)
/* Android */
Color.parseColor("#9da258")
/* Flutter */
Color(0xFF9DA258)
/* Python / OpenCV (BGR) */
(88, 162, 157)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #9da258 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F9F9F6;
--brand-100: #F3F3EC;
--brand-200: #E5E6D5;
--brand-300: #D5D8B6;
--brand-400: #C0C492;
--brand-500: #ABB06E;
--brand-600: #9da258;
--brand-700: #808448;
--brand-800: #666A39;
--brand-900: #4C4E2D;
--brand-950: #2F311C;
--brand: #9da258;
--brand-ink: #000000;
}Colors that work with #9da258
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #9da258
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #5D58A2 | Directly opposite — maximum tension | |
| Analogous left | #A28258 | Neighbour, quieter | |
| Analogous right | #78A258 | Neighbour, quieter | |
| Split-complement 1 | #5878A2 | Contrast without the clash | |
| Split-complement 2 | #8258A2 | Contrast without the clash | |
| Triadic 1 | #589DA2 | Even thirds — balanced and loud | |
| Triadic 2 | #A2589D | Even thirds — balanced and loud | |
| Tetradic | #58A282 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#9da258 text on a black background
contrast 7.74:1
#9da258 text on a white background
contrast 2.71:1
CSS3 live lab
The quick brown fox
color: #9da258;
background-color: #9da258;
Glowing headline
text-shadow: 2px 2px 8px #9da258;
Soft neon halo
text-shadow: 0 0 14px rgba(157, 162, 88, 0.45);
box-shadow: 0 12px 32px -8px rgba(157, 162, 88, 0.45);
border: 3px solid #9da258; background: linear-gradient(135deg, #9da258, #6CA258);
Monochromatic scale
Palettes built from #9da258
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Moss (#8a9a5b) — ΔE2000 5.1 away, with its history, psychology and brand usage.
#9da258 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#9da258, answered
What color is #9da258?
#9da258 is a balanced soft yellow, closest to Dark Khaki (ΔE2000 7.4). It sits at 64° on the hue wheel with 30% saturation and 49% lightness, which reads as warm.
What is the RGB value of #9da258?
rgb(157, 162, 88) — 157 red, 162 green and 88 blue out of 255, or 61.6% / 63.5% / 34.5% by channel.
Is #9da258 a light or a dark color?
It is a mid-tone. Relative luminance is 0.3371 and perceived brightness is 60%, so black text on it reaches 7.74:1.
Should I use black or white text on #9da258?
Black. It scores 7.74:1 against #9da258, versus 2.71:1 for white — AAA at any size.
What is the complementary color of #9da258?
#5D58A2 sits directly opposite on the wheel. Softer options are the split-complements #5878A2 and #8258A2, which give the same contrast with far less vibration.
What colors go well with #9da258?
For interface work: #F9FAF5 as the surface, #E1E2CA for borders, #909551 for secondary text, #5362A7 as an accent and #50532D for hover and pressed states. For a palette, the analogous pair #A28258 and #78A258 stays calm, while #5D58A2 is the loudest partner.
What is #9da258 in CMYK for printing?
cmyk(3%, 0%, 46%, 37%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #9da258 warm or cool?
Warm — it scores 32 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A28C58; nudged cooler, #82A455.