#9CA531#9CA531

#9CA531 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.136 H 113.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9CA531
RGBrgb(156, 165, 49)
HSLhsl(65, 54%, 42%)
HSVhsv(65, 70%, 65%)
CMYKcmyk(5.5%, 0%, 70.3%, 35.3%)
CIE-LABlab(65.12, -18.08, 55.94)
CIE-LCHlch(65.12, 58.79, 107.91°)
OKLaboklab(69.31% -0.055 0.1248)
OKLCHoklch(69.31% 0.136 113.8)
XYZxyz(27.7206, 34.2005, 8.0462)
Luminance0.3420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA531 #3A31A5
analogous
#A57431 #9CA531 #62A531
triadic
#9CA531 #319CA5 #A5319C
tetradic
#9CA531 #31A574 #3A31A5 #A53162
square
#9CA531 #31A574 #3A31A5 #A53162
split-complementary
#9CA531 #3162A5 #7431A5
monochromatic
#434715 #6F7623 #9CA531 #BFC94A #D0D779

Accessibility & contrast

On white

2.68
#9CA531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#9CA531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA531
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA531#FFFFFF#000000##000000
##9CA5311.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B19F3A
Tritanopia (blue-blind)
#A69B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca531;
/* rgb */ color: rgb(156, 165, 49);
/* oklch */ color: oklch(69.3% 0.136 113.8);
Tailwind
colors: {
  custom: {
    50: '#bcbf71',
    500: '#9ca531',
    950: '#000000',
  },
}
SCSS
$custom: #9ca531;
$custom-light: #bcbf71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca531",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 64.655,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69311,
    "c": 0.13641,
    "h": 113.8
  },
  "luminance": 0.342
}

Semantic roles & 50–950 ramp

primary
#9CA531
secondary
#7872C0
accent
#4ADE56
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA531

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

Preview Lab → · Contrast checker → · Palette generator →

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