#9CAA31#9CAA31

#9CAA31 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.5% C 0.142 H 115.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9CAA31
RGBrgb(156, 170, 49)
HSLhsl(67, 55%, 43%)
HSVhsv(67, 71%, 67%)
CMYKcmyk(8.2%, 0%, 71.2%, 33.3%)
CIE-LABlab(66.55, -20.61, 57.35)
CIE-LCHlch(66.55, 60.94, 109.77°)
OKLaboklab(70.46% -0.0621 0.1278)
OKLCHoklch(70.46% 0.142 115.9)
XYZxyz(28.6401, 36.0395, 8.3527)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA31 #3F31AA
analogous
#AA7B31 #9CAA31 #5FAA31
triadic
#9CAA31 #319CAA #AA319C
tetradic
#9CAA31 #31AA7B #3F31AA #AA315F
square
#9CAA31 #31AA7B #3F31AA #AA315F
split-complementary
#9CAA31 #315FAA #7B31AA
monochromatic
#454B16 #707A23 #9CAA31 #BDCC4D #CED97C

Accessibility & contrast

On white

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

On black

8.21
#9CAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAA31
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAA31#FFFFFF#000000##000000
##9CAA311.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#A6A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa31;
/* rgb */ color: rgb(156, 170, 49);
/* oklch */ color: oklch(70.5% 0.142 115.9);
Tailwind
colors: {
  custom: {
    50: '#bcc371',
    500: '#9caa31',
    950: '#000000',
  },
}
SCSS
$custom: #9caa31;
$custom-light: #bcc371;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa31",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 66.942,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70457,
    "c": 0.14207,
    "h": 115.9
  },
  "luminance": 0.36039
}

Semantic roles & 50–950 ramp

primary
#9CAA31
secondary
#7E75C2
accent
#49DF5B
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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