#9DAC20#9DAC20

#9DAC20 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 70.9% C 0.153 H 116.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#9DAC20
RGBrgb(157, 172, 32)
HSLhsl(66, 69%, 40%)
HSVhsv(66, 81%, 67%)
CMYKcmyk(8.7%, 0%, 81.4%, 32.5%)
CIE-LABlab(67.11, -21.94, 63.40)
CIE-LCHlch(67.11, 67.09, 109.09°)
OKLaboklab(70.9% -0.0672 0.1376)
OKLCHoklch(70.9% 0.153 116)
XYZxyz(28.9187, 36.7779, 6.9417)
Luminance0.3678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC20 #2F20AC
analogous
#AC7520 #9DAC20 #57AC20
triadic
#9DAC20 #209DAC #AC209D
tetradic
#9DAC20 #20AC75 #2F20AC #AC2057
square
#9DAC20 #20AC75 #2F20AC #AC2057
split-complementary
#9DAC20 #2057AC #7520AC
monochromatic
#3F450D #6E7816 #9DAC20 #C7D931 #D5E264

Accessibility & contrast

On white

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

On black

8.36
#9DAC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAC20
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAC20#FFFFFF#000000##000000
##9DAC201.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B7A42E
Tritanopia (blue-blind)
#A8A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dac20;
/* rgb */ color: rgb(157, 172, 32);
/* oklch */ color: oklch(70.9% 0.153 116.0);
Tailwind
colors: {
  custom: {
    50: '#bec46a',
    500: '#9dac20',
    950: '#000000',
  },
}
SCSS
$custom: #9dac20;
$custom-light: #bec46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac20",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 66.429,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.70897,
    "c": 0.15314,
    "h": 116
  },
  "luminance": 0.36777
}

Semantic roles & 50–950 ramp

primary
#9DAC20
secondary
#6B60C7
accent
#3CEB4F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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