#9CA55B#9CA55B

#9CA55B is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.098 H 114.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9CA55B
RGBrgb(156, 165, 91)
HSLhsl(67, 29%, 50%)
HSVhsv(67, 45%, 65%)
CMYKcmyk(5.5%, 0%, 44.8%, 35.3%)
CIE-LABlab(65.54, -14.65, 37.14)
CIE-LCHlch(65.54, 39.92, 111.53°)
OKLaboklab(69.78% -0.0411 0.0894)
OKLCHoklch(69.78% 0.098 114.7)
XYZxyz(29.0541, 34.7339, 15.0692)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA55B #645BA5
analogous
#A5895B #9CA55B #77A55B
triadic
#9CA55B #5B9CA5 #A55B9C
tetradic
#9CA55B #5BA589 #645BA5 #A55B77
square
#9CA55B #5BA589 #645BA5 #A55B77
split-complementary
#9CA55B #5B77A5 #895BA5
monochromatic
#52562F #777E45 #9CA55B #B4BB83 #CCD0AA

Accessibility & contrast

On white

2.64
#9CA55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#9CA55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA55B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA55B#FFFFFF#000000##000000
##9CA55B1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E55
Deuteranopia (green-blind)
#AEA05F
Tritanopia (blue-blind)
#A49E93
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca55b;
/* rgb */ color: rgb(156, 165, 91);
/* oklch */ color: oklch(69.8% 0.098 114.7);
Tailwind
colors: {
  custom: {
    50: '#babf8b',
    500: '#9ca55b',
    950: '#000000',
  },
}
SCSS
$custom: #9ca55b;
$custom-light: #babf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca55b",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 91
  },
  "hsl": {
    "h": 67.297,
    "s": 29.134,
    "l": 50.196
  },
  "oklch": {
    "l": 0.69782,
    "c": 0.09839,
    "h": 114.7
  },
  "luminance": 0.34734
}

Semantic roles & 50–950 ramp

primary
#9CA55B
secondary
#A19DBE
accent
#62C56E
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9CA55B

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

Preview Lab → · Contrast checker → · Palette generator →

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