Skip to content

#9da24a

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

RGB
157, 162, 74
HSL
63°, 37%, 46%
CMYK
3, 0, 54, 37
Luminance
0.3350

At a glance

Every number on this page in one read: what #9da24a is made of, how bright it looks, and which way it leans.

Hex
#9da24a
Hue
63°
yellow
Saturation
37%
soft
Lightness
46%
balanced
Brightness
64%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3350
WCAG relative
Temperature
Warm
28/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
7.70:1
Closest name
Dark Khaki
ΔE2000 7.7
Where it sits
Hue63° of 360°
Saturation37%
Lightness46%
Temperature
Warm ← → Cool28% 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#9da24a
RGBrgb(157, 162, 74)
HSLhsl(63, 37%, 46%)
CMYKcmyk(3%, 0%, 54%, 37%)
LABlab(64.6 -14.3 44.5)
LCHlch(64.6 46.7 107.9)
OKLCHoklch(0.690 0.112 111.9)
Decimal10330698
Display P3color(display-p3 0.616 0.635 0.290)

Copy-ready code

/* CSS */
color: #9da24a;
background-color: #9da24a;
/* Tailwind (arbitrary) */
class="text-[#9da24a] bg-[#9da24a]"
/* SCSS */
$brand: #9da24a;
/* SwiftUI */
Color(red: 0.616, green: 0.635, blue: 0.290)
/* Android */
Color.parseColor("#9da24a")
/* Flutter */
Color(0xFF9DA24A)
/* Python / OpenCV (BGR) */
(74, 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 #9da24a · 7.70:1
Use #000000AAA at every size.
Aa
White text · 2.73:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.70:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9da24a as text scores 2.73:1 on white and 7.70:1 on black.

Accessibility — WCAG contrast

Aa
#9da24a on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#9da24a on black: 7.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AD9B41
deuteranopia · #AD9E4F
tritanopia · #A6998E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9da24a 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.

#F9FAF5
#F4F4EB
#E7E9D3
#D9DCB2
#C7CA8B
#B4B965
#9da24a
#888C40
#6D7033
#505228
#323319
Base = 600Lightest = 50 · #F9FAF5Darkest = 950 · #323319
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F4F4EB;
  --brand-200: #E7E9D3;
  --brand-300: #D9DCB2;
  --brand-400: #C7CA8B;
  --brand-500: #B4B965;
  --brand-600: #9da24a;
  --brand-700: #888C40;
  --brand-800: #6D7033;
  --brand-900: #505228;
  --brand-950: #323319;
  --brand: #9da24a;
  --brand-ink: #000000;
}

Colors that work with #9da24a

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#FAFAF4
Tinted page background
Border#E4E5C7
Hairlines and dividers
Muted text#969B4B
Captions on the surface
Accent#4558A7
Second voice, not a rival
Dark variant#555828
Hover, pressed, headers
Light variant#F6F7ED
Selected rows, tints
Dark surface#242414
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 #9da24a

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#4F4AA2
Analogous left#A27B4A
Analogous right#71A24A
Split-complement 1#4A71A2
Split-complement 2#7B4AA2
Triadic 1#4A9DA2
Triadic 2#A24A9D
Tetradic#4AA27B

RGB percentages

Red61.6%
Green63.5%
Blue29.0%

CMYK percentages

Cyan3.1%
Magenta0.0%
Yellow54.3%
Key (black)36.5%

Color previews

#9da24a text on a black background

contrast 7.70:1

Card sample

#9da24a text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 162, 74, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 162, 74, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9da24a;
background: linear-gradient(135deg, #9da24a, #62A24A);

Monochromatic scale

Palettes built from #9da24a

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.

#9da24a 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.

#9da24a, answered

What color is #9da24a?

#9da24a is a balanced soft yellow, closest to Dark Khaki (ΔE2000 7.7). It sits at 63° on the hue wheel with 37% saturation and 46% lightness, which reads as warm.

What is the RGB value of #9da24a?

rgb(157, 162, 74) — 157 red, 162 green and 74 blue out of 255, or 61.6% / 63.5% / 29% by channel.

Is #9da24a a light or a dark color?

It is a mid-tone. Relative luminance is 0.3350 and perceived brightness is 60%, so black text on it reaches 7.70:1.

Should I use black or white text on #9da24a?

Black. It scores 7.70:1 against #9da24a, versus 2.73:1 for white — AAA at any size.

What is the complementary color of #9da24a?

#4F4AA2 sits directly opposite on the wheel. Softer options are the split-complements #4A71A2 and #7B4AA2, which give the same contrast with far less vibration.

What colors go well with #9da24a?

For interface work: #FAFAF4 as the surface, #E4E5C7 for borders, #969B4B for secondary text, #4558A7 as an accent and #555828 for hover and pressed states. For a palette, the analogous pair #A27B4A and #71A24A stays calm, while #4F4AA2 is the loudest partner.

What is #9da24a in CMYK for printing?

cmyk(3%, 0%, 54%, 37%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #9da24a warm or cool?

Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A2874A; nudged cooler, #7DA448.

Work with #9da24a in the Color Lab