#9CA331#9CA331

#9CA331 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.9% C 0.134 H 112.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9CA331
RGBrgb(156, 163, 49)
HSLhsl(64, 54%, 42%)
HSVhsv(64, 70%, 64%)
CMYKcmyk(4.3%, 0%, 69.9%, 36.1%)
CIE-LABlab(64.55, -17.06, 55.37)
CIE-LCHlch(64.55, 57.94, 107.12°)
OKLaboklab(68.86% -0.0522 0.1236)
OKLCHoklch(68.86% 0.134 112.9)
XYZxyz(27.3627, 33.4847, 7.9269)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA331 #3831A3
analogous
#A37131 #9CA331 #63A331
triadic
#9CA331 #319CA3 #A3319C
tetradic
#9CA331 #31A371 #3831A3 #A33163
square
#9CA331 #31A371 #3831A3 #A33163
split-complementary
#9CA331 #3163A3 #7131A3
monochromatic
#424515 #6F7423 #9CA331 #C0C849 #D1D678

Accessibility & contrast

On white

2.73
#9CA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#9CA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA331
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA331#FFFFFF#000000##000000
##9CA3311.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#AF9E39
Tritanopia (blue-blind)
#A6998C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca331;
/* rgb */ color: rgb(156, 163, 49);
/* oklch */ color: oklch(68.9% 0.134 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbe70',
    500: '#9ca331',
    950: '#000000',
  },
}
SCSS
$custom: #9ca331;
$custom-light: #bcbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca331",
  "rgb": {
    "r": 156,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 63.684,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68855,
    "c": 0.13418,
    "h": 112.9
  },
  "luminance": 0.33484
}

Semantic roles & 50–950 ramp

primary
#9CA331
secondary
#7671BF
accent
#4BDD54
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA331

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

Preview Lab → · Contrast checker → · Palette generator →

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