#9CA431#9CA431

#9CA431 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.135 H 113.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9CA431
RGBrgb(156, 164, 49)
HSLhsl(64, 54%, 42%)
HSVhsv(64, 70%, 64%)
CMYKcmyk(4.9%, 0%, 70.1%, 35.7%)
CIE-LABlab(64.84, -17.57, 55.65)
CIE-LCHlch(64.84, 58.36, 107.52°)
OKLaboklab(69.08% -0.0536 0.1242)
OKLCHoklch(69.08% 0.135 113.3)
XYZxyz(27.5409, 33.8412, 7.9863)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA431 #3931A4
analogous
#A47331 #9CA431 #63A431
triadic
#9CA431 #319CA4 #A4319C
tetradic
#9CA431 #31A473 #3931A4 #A43163
square
#9CA431 #31A473 #3931A4 #A43163
split-complementary
#9CA431 #3163A4 #7331A4
monochromatic
#424615 #6F7523 #9CA431 #C0C949 #D0D779

Accessibility & contrast

On white

2.70
#9CA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9CA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA431
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA431#FFFFFF#000000##000000
##9CA4311.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#B09E3A
Tritanopia (blue-blind)
#A69A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca431;
/* rgb */ color: rgb(156, 164, 49);
/* oklch */ color: oklch(69.1% 0.135 113.3);
Tailwind
colors: {
  custom: {
    50: '#bcbe71',
    500: '#9ca431',
    950: '#000000',
  },
}
SCSS
$custom: #9ca431;
$custom-light: #bcbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca431",
  "rgb": {
    "r": 156,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 64.174,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69083,
    "c": 0.1353,
    "h": 113.3
  },
  "luminance": 0.33841
}

Semantic roles & 50–950 ramp

primary
#9CA431
secondary
#7772BF
accent
#4ADD55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA431

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

Preview Lab → · Contrast checker → · Palette generator →

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