#9CA951#9CA951

#9CA951 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 70.5% C 0.114 H 116.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9CA951
RGBrgb(156, 169, 81)
HSLhsl(69, 35%, 49%)
HSVhsv(69, 52%, 66%)
CMYKcmyk(7.7%, 0%, 52.1%, 33.7%)
CIE-LABlab(66.55, -17.73, 43.36)
CIE-LCHlch(66.55, 46.85, 112.24°)
OKLaboklab(70.55% -0.0507 0.1023)
OKLCHoklch(70.55% 0.114 116.4)
XYZxyz(29.3839, 36.0383, 13.1911)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA951 #5E51A9
analogous
#A98A51 #9CA951 #70A951
triadic
#9CA951 #519CA9 #A9519C
tetradic
#9CA951 #51A98A #5E51A9 #A95170
square
#9CA951 #51A98A #5E51A9 #A95170
split-complementary
#9CA951 #5170A9 #8A51A9
monochromatic
#505629 #76803D #9CA951 #B4BF79 #CBD2A2

Accessibility & contrast

On white

2.56
#9CA951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#9CA951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA951
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA951#FFFFFF#000000##000000
##9CA9511.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A149
Deuteranopia (green-blind)
#B2A356
Tritanopia (blue-blind)
#A4A195
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9ca951;
/* rgb */ color: rgb(156, 169, 81);
/* oklch */ color: oklch(70.5% 0.114 116.4);
Tailwind
colors: {
  custom: {
    50: '#bbc284',
    500: '#9ca951',
    950: '#000000',
  },
}
SCSS
$custom: #9ca951;
$custom-light: #bbc284;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca951",
  "rgb": {
    "r": 156,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 68.864,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70548,
    "c": 0.11421,
    "h": 116.4
  },
  "luminance": 0.36038
}

Semantic roles & 50–950 ramp

primary
#9CA951
secondary
#9C96C0
accent
#5DCB6D
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA951

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

Preview Lab → · Contrast checker → · Palette generator →

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