#9DAC2D#9DAC2D

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

Color values

HEX#9DAC2D
RGBrgb(157, 172, 45)
HSLhsl(67, 59%, 43%)
HSVhsv(67, 74%, 67%)
CMYKcmyk(8.7%, 0%, 73.8%, 32.5%)
CIE-LABlab(67.17, -21.39, 59.42)
CIE-LCHlch(67.17, 63.15, 109.80°)
OKLaboklab(70.97% -0.0647 0.1314)
OKLCHoklch(70.97% 0.146 116.2)
XYZxyz(29.1316, 36.8630, 8.0628)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC2D #3C2DAC
analogous
#AC7C2D #9DAC2D #5DAC2D
triadic
#9DAC2D #2D9DAC #AC2D9D
tetradic
#9DAC2D #2DAC7C #3C2DAC #AC2D5D
square
#9DAC2D #2DAC7C #3C2DAC #AC2D5D
split-complementary
#9DAC2D #2D5DAC #7C2DAC
monochromatic
#444B14 #717B20 #9DAC2D #BFCF47 #D0DC78

Accessibility & contrast

On white

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

On black

8.37
#9DAC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAC2D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAC2D#FFFFFF#000000##000000
##9DAC2D1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A313
Deuteranopia (green-blind)
#B7A438
Tritanopia (blue-blind)
#A7A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dac2d;
/* rgb */ color: rgb(157, 172, 45);
/* oklch */ color: oklch(71.0% 0.146 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc46f',
    500: '#9dac2d',
    950: '#000000',
  },
}
SCSS
$custom: #9dac2d;
$custom-light: #bdc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac2d",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 67.087,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70969,
    "c": 0.14648,
    "h": 116.2
  },
  "luminance": 0.36863
}

Semantic roles & 50–950 ramp

primary
#9DAC2D
secondary
#7B71C4
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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