#9DAA20#9DAA20

#9DAA20 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.4% C 0.151 H 115.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#9DAA20
RGBrgb(157, 170, 32)
HSLhsl(66, 68%, 40%)
HSVhsv(66, 81%, 67%)
CMYKcmyk(7.6%, 0%, 81.2%, 33.3%)
CIE-LABlab(66.54, -20.94, 62.89)
CIE-LCHlch(66.54, 66.29, 108.42°)
OKLaboklab(70.44% -0.0645 0.1365)
OKLCHoklch(70.44% 0.151 115.3)
XYZxyz(28.5409, 36.0223, 6.8157)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA20 #2D20AA
analogous
#AA7220 #9DAA20 #58AA20
triadic
#9DAA20 #209DAA #AA209D
tetradic
#9DAA20 #20AA72 #2D20AA #AA2058
square
#9DAA20 #20AA72 #2D20AA #AA2058
split-complementary
#9DAA20 #2058AA #7220AA
monochromatic
#3E430D #6D7616 #9DAA20 #C8D82F #D6E263

Accessibility & contrast

On white

2.56
#9DAA20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#9DAA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA20
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA20#FFFFFF#000000##000000
##9DAA201.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#A8A091
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa20;
/* rgb */ color: rgb(157, 170, 32);
/* oklch */ color: oklch(70.4% 0.151 115.3);
Tailwind
colors: {
  custom: {
    50: '#bec369',
    500: '#9daa20',
    950: '#000000',
  },
}
SCSS
$custom: #9daa20;
$custom-light: #bec369;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa20",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 65.652,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70437,
    "c": 0.15098,
    "h": 115.3
  },
  "luminance": 0.36022
}

Semantic roles & 50–950 ramp

primary
#9DAA20
secondary
#695FC7
accent
#3DEB4D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAA20

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

Preview Lab → · Contrast checker → · Palette generator →

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