#9CA232#9CA232

#9CA232 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.132 H 112.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9CA232
RGBrgb(156, 162, 50)
HSLhsl(63, 53%, 42%)
HSVhsv(63, 69%, 64%)
CMYKcmyk(3.7%, 0%, 69.1%, 36.5%)
CIE-LABlab(64.27, -16.48, 54.70)
CIE-LCHlch(64.27, 57.13, 106.77°)
OKLaboklab(68.64% -0.0505 0.1224)
OKLCHoklch(68.64% 0.132 112.4)
XYZxyz(27.2072, 33.1395, 7.9803)
Luminance0.3314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA232 #3832A2
analogous
#A27032 #9CA232 #64A232
triadic
#9CA232 #329CA2 #A2329C
tetradic
#9CA232 #32A270 #3832A2 #A23264
square
#9CA232 #32A270 #3832A2 #A23264
split-complementary
#9CA232 #3264A2 #7032A2
monochromatic
#424415 #6F7324 #9CA232 #C0C74A #D1D679

Accessibility & contrast

On white

2.75
#9CA232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#9CA232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA232
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA232#FFFFFF#000000##000000
##9CA2321.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A21
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#A7988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca232;
/* rgb */ color: rgb(156, 162, 50);
/* oklch */ color: oklch(68.6% 0.132 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd71',
    500: '#9ca232',
    950: '#000000',
  },
}
SCSS
$custom: #9ca232;
$custom-light: #bcbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca232",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 63.214,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68635,
    "c": 0.1324,
    "h": 112.4
  },
  "luminance": 0.33139
}

Semantic roles & 50–950 ramp

primary
#9CA232
secondary
#7672BE
accent
#4CDC53
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA232

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

Preview Lab → · Contrast checker → · Palette generator →

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