Skip to content

#9da258

a balanced, soft yellow · warm · closest name: Dark Khaki

RGB
157, 162, 88
HSL
64°, 30%, 49%
CMYK
3, 0, 46, 37
Luminance
0.3371

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.

Hex
#9da258
Hue
64°
yellow
Saturation
30%
soft
Lightness
49%
balanced
Brightness
64%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3371
WCAG relative
Temperature
Warm
32/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
7.74:1
Closest name
Dark Khaki
ΔE2000 7.4
Where it sits
Hue64° of 360°
Saturation30%
Lightness49%
Temperature
Warm ← → Cool32% cool

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
RGBrgb(157, 162, 88)
HSLhsl(64, 30%, 49%)
CMYKcmyk(3%, 0%, 46%, 37%)
LABlab(64.7 -13.0 37.7)
LCHlch(64.7 39.9 109.0)
OKLCHoklch(0.692 0.098 112.1)
Decimal10330712
Display P3color(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.

Readable at a glance#000000 on #9da258 · 7.74:1
Use #000000AAA at every size.
Aa
White text · 2.71:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.74:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9da258 as text scores 2.71:1 on white and 7.74:1 on black.

Accessibility — WCAG contrast

Aa
#9da258 on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#9da258 on black: 7.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AC9C52
deuteranopia · #AC9E5C
tritanopia · #A59A91

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.

#F9F9F6
#F3F3EC
#E5E6D5
#D5D8B6
#C0C492
#ABB06E
#9da258
#808448
#666A39
#4C4E2D
#2F311C
Base = 600Lightest = 50 · #F9F9F6Darkest = 950 · #2F311C
: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.

Text on it#000000
Black wins here
Surface#F9FAF5
Tinted page background
Border#E1E2CA
Hairlines and dividers
Muted text#909551
Captions on the surface
Accent#5362A7
Second voice, not a rival
Dark variant#50532D
Hover, pressed, headers
Light variant#F6F6EE
Selected rows, tints
Dark surface#232414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #9da258

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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
Analogous left#A28258
Analogous right#78A258
Split-complement 1#5878A2
Split-complement 2#8258A2
Triadic 1#589DA2
Triadic 2#A2589D
Tetradic#58A282

RGB percentages

Red61.6%
Green63.5%
Blue34.5%

CMYK percentages

Cyan3.1%
Magenta0.0%
Yellow45.7%
Key (black)36.5%

Color previews

#9da258 text on a black background

contrast 7.74:1

Card sample

#9da258 text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9da258;
Background color
Panel with #9da258 background
background-color: #9da258;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9da258;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(157, 162, 88, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 162, 88, 0.45);
Border & gradient
Gradient panel
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.

#9da258 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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.

Work with #9da258 in the Color Lab