#9CAA20#9CAA20

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

Color values

HEX#9CAA20
RGBrgb(156, 170, 32)
HSLhsl(66, 68%, 40%)
HSVhsv(66, 81%, 67%)
CMYKcmyk(8.2%, 0%, 81.2%, 33.3%)
CIE-LABlab(66.46, -21.37, 62.80)
CIE-LCHlch(66.46, 66.33, 108.80°)
OKLaboklab(70.36% -0.0656 0.1364)
OKLCHoklch(70.36% 0.151 115.7)
XYZxyz(28.3466, 35.9221, 6.8066)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA20 #2E20AA
analogous
#AA7320 #9CAA20 #57AA20
triadic
#9CAA20 #209CAA #AA209C
tetradic
#9CAA20 #20AA73 #2E20AA #AA2057
square
#9CAA20 #20AA73 #2E20AA #AA2057
split-complementary
#9CAA20 #2057AA #7320AA
monochromatic
#3D430D #6D7616 #9CAA20 #C7D82F #D5E263

Accessibility & contrast

On white

2.57
#9CAA20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9CAA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAA20
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAA20#FFFFFF#000000##000000
##9CAA201.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9caa20;
/* rgb */ color: rgb(156, 170, 32);
/* oklch */ color: oklch(70.4% 0.151 115.7);
Tailwind
colors: {
  custom: {
    50: '#bdc369',
    500: '#9caa20',
    950: '#000000',
  },
}
SCSS
$custom: #9caa20;
$custom-light: #bdc369;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa20",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 66.087,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70356,
    "c": 0.15132,
    "h": 115.7
  },
  "luminance": 0.35922
}

Semantic roles & 50–950 ramp

primary
#9CAA20
secondary
#6A5FC7
accent
#3DEB4E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9CAA20

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

Preview Lab → · Contrast checker → · Palette generator →

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