#9CA332#9CA332

#9CA332 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#9CA332
RGBrgb(156, 163, 50)
HSLhsl(64, 53%, 42%)
HSVhsv(64, 69%, 64%)
CMYKcmyk(4.3%, 0%, 69.3%, 36.1%)
CIE-LABlab(64.56, -17.00, 54.99)
CIE-LCHlch(64.56, 57.56, 107.18°)
OKLaboklab(68.86% -0.0519 0.123)
OKLCHoklch(68.86% 0.134 112.9)
XYZxyz(27.3840, 33.4932, 8.0393)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA332 #3932A3
analogous
#A37232 #9CA332 #64A332
triadic
#9CA332 #329CA3 #A3329C
tetradic
#9CA332 #32A372 #3932A3 #A33264
square
#9CA332 #32A372 #3932A3 #A33264
split-complementary
#9CA332 #3264A3 #7232A3
monochromatic
#424515 #6F7424 #9CA332 #C0C84B #D0D679

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA332#FFFFFF#000000##000000
##9CA3321.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)
#AF9B20
Deuteranopia (green-blind)
#AF9E3A
Tritanopia (blue-blind)
#A6998D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca332;
/* rgb */ color: rgb(156, 163, 50);
/* oklch */ color: oklch(68.9% 0.134 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbe71',
    500: '#9ca332',
    950: '#000000',
  },
}
SCSS
$custom: #9ca332;
$custom-light: #bcbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca332",
  "rgb": {
    "r": 156,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 63.717,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68862,
    "c": 0.1335,
    "h": 112.9
  },
  "luminance": 0.33493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9CA332

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

Preview Lab → · Contrast checker → · Palette generator →

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