#9DAC2C#9DAC2C

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

Color values

HEX#9DAC2C
RGBrgb(157, 172, 44)
HSLhsl(67, 59%, 42%)
HSVhsv(67, 74%, 67%)
CMYKcmyk(8.7%, 0%, 74.4%, 32.5%)
CIE-LABlab(67.17, -21.44, 59.76)
CIE-LCHlch(67.17, 63.49, 109.74°)
OKLaboklab(70.96% -0.0649 0.132)
OKLCHoklch(70.96% 0.147 116.2)
XYZxyz(29.1125, 36.8554, 7.9626)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC2C #3B2CAC
analogous
#AC7B2C #9DAC2C #5DAC2C
triadic
#9DAC2C #2C9DAC #AC2C9D
tetradic
#9DAC2C #2CAC7B #3B2CAC #AC2C5D
square
#9DAC2C #2CAC7B #3B2CAC #AC2C5D
split-complementary
#9DAC2C #2C5DAC #7B2CAC
monochromatic
#444B13 #717B20 #9DAC2C #BFD046 #D0DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAC2C#FFFFFF#000000##000000
##9DAC2C1.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)
#B8A310
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#A7A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dac2c;
/* rgb */ color: rgb(157, 172, 44);
/* oklch */ color: oklch(71.0% 0.147 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc46f',
    500: '#9dac2c',
    950: '#000000',
  },
}
SCSS
$custom: #9dac2c;
$custom-light: #bdc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac2c",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 67.031,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70963,
    "c": 0.14707,
    "h": 116.2
  },
  "luminance": 0.36855
}

Semantic roles & 50–950 ramp

primary
#9DAC2C
secondary
#7A70C4
accent
#45E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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