#9DAC2A#9DAC2A

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

Color values

HEX#9DAC2A
RGBrgb(157, 172, 42)
HSLhsl(67, 61%, 42%)
HSVhsv(67, 76%, 67%)
CMYKcmyk(8.7%, 0%, 75.6%, 32.5%)
CIE-LABlab(67.16, -21.54, 60.42)
CIE-LCHlch(67.16, 64.14, 109.62°)
OKLaboklab(70.95% -0.0653 0.133)
OKLCHoklch(70.95% 0.148 116.2)
XYZxyz(29.0758, 36.8407, 7.7693)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC2A #392AAC
analogous
#AC7A2A #9DAC2A #5CAC2A
triadic
#9DAC2A #2A9DAC #AC2A9D
tetradic
#9DAC2A #2AAC7A #392AAC #AC2A5C
square
#9DAC2A #2AAC7A #392AAC #AC2A5C
split-complementary
#9DAC2A #2A5CAC #7A2AAC
monochromatic
#434A12 #707B1E #9DAC2A #C0D142 #D1DD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAC2A#FFFFFF#000000##000000
##9DAC2A1.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)
#B8A30B
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#A7A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dac2a;
/* rgb */ color: rgb(157, 172, 42);
/* oklch */ color: oklch(71.0% 0.148 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc46e',
    500: '#9dac2a',
    950: '#000000',
  },
}
SCSS
$custom: #9dac2a;
$custom-light: #bdc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac2a",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 66.923,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.7095,
    "c": 0.1482,
    "h": 116.2
  },
  "luminance": 0.3684
}

Semantic roles & 50–950 ramp

primary
#9DAC2A
secondary
#786DC4
accent
#44E456
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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