#9CA55F#9CA55F

#9CA55F is a light, moderate yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.094 H 114.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9CA55F
RGBrgb(156, 165, 95)
HSLhsl(68, 28%, 51%)
HSVhsv(68, 42%, 65%)
CMYKcmyk(5.5%, 0%, 42.4%, 35.3%)
CIE-LABlab(65.60, -14.21, 35.14)
CIE-LCHlch(65.60, 37.90, 112.02°)
OKLaboklab(69.84% -0.0395 0.0852)
OKLCHoklch(69.84% 0.094 114.9)
XYZxyz(29.2313, 34.8047, 16.0023)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA55F #685FA5
analogous
#A58B5F #9CA55F #79A55F
triadic
#9CA55F #5F9CA5 #A55F9C
tetradic
#9CA55F #5FA58B #685FA5 #A55F79
square
#9CA55F #5FA58B #685FA5 #A55F79
split-complementary
#9CA55F #5F79A5 #8B5FA5
monochromatic
#535832 #787F48 #9CA55F #B4BB86 #CCD1AD

Accessibility & contrast

On white

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

On black

7.96
#9CA55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA55F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA55F#FFFFFF#000000##000000
##9CA55F1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F59
Deuteranopia (green-blind)
#ADA062
Tritanopia (blue-blind)
#A39E94
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca55f;
/* rgb */ color: rgb(156, 165, 95);
/* oklch */ color: oklch(69.8% 0.094 114.9);
Tailwind
colors: {
  custom: {
    50: '#babf8d',
    500: '#9ca55f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca55f;
$custom-light: #babf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca55f",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 95
  },
  "hsl": {
    "h": 67.714,
    "s": 28,
    "l": 50.98
  },
  "oklch": {
    "l": 0.69844,
    "c": 0.09388,
    "h": 114.9
  },
  "luminance": 0.34804
}

Semantic roles & 50–950 ramp

primary
#9CA55F
secondary
#A4A0BF
accent
#63C470
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9CA55F

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

Preview Lab → · Contrast checker → · Palette generator →

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