#9DAC2F#9DAC2F

#9DAC2F is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.145 H 116.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#9DAC2F
RGBrgb(157, 172, 47)
HSLhsl(67, 57%, 43%)
HSVhsv(67, 73%, 67%)
CMYKcmyk(8.7%, 0%, 72.7%, 32.5%)
CIE-LABlab(67.19, -21.29, 58.72)
CIE-LCHlch(67.19, 62.46, 109.93°)
OKLaboklab(70.98% -0.0642 0.1303)
OKLCHoklch(70.98% 0.145 116.2)
XYZxyz(29.1710, 36.8788, 8.2704)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC2F #3E2FAC
analogous
#AC7C2F #9DAC2F #5EAC2F
triadic
#9DAC2F #2F9DAC #AC2F9D
tetradic
#9DAC2F #2FAC7C #3E2FAC #AC2F5E
square
#9DAC2F #2FAC7C #3E2FAC #AC2F5E
split-complementary
#9DAC2F #2F5EAC #7C2FAC
monochromatic
#454C15 #717C22 #9DAC2F #BECE4B #CFDB7B

Accessibility & contrast

On white

2.51
#9DAC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#9DAC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAC2F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAC2F#FFFFFF#000000##000000
##9DAC2F1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A317
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#A7A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9dac2f;
/* rgb */ color: rgb(157, 172, 47);
/* oklch */ color: oklch(71.0% 0.145 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc470',
    500: '#9dac2f',
    950: '#000000',
  },
}
SCSS
$custom: #9dac2f;
$custom-light: #bdc470;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac2f",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 67.2,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70982,
    "c": 0.14528,
    "h": 116.2
  },
  "luminance": 0.36878
}

Semantic roles & 50–950 ramp

primary
#9DAC2F
secondary
#7D74C3
accent
#47E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAC2F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9DAC2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva