#9CA04C#9CA04C

#9CA04C is a light, moderate yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.108 H 111.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9CA04C
RGBrgb(156, 160, 76)
HSLhsl(63, 36%, 46%)
HSVhsv(63, 53%, 63%)
CMYKcmyk(2.5%, 0%, 52.5%, 37.3%)
CIE-LABlab(63.94, -13.54, 42.75)
CIE-LCHlch(63.94, 44.84, 107.57°)
OKLaboklab(68.45% -0.0394 0.1005)
OKLCHoklch(68.45% 0.108 111.4)
XYZxyz(27.5862, 32.7319, 11.7008)
Luminance0.3273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA04C #504CA0
analogous
#A07A4C #9CA04C #72A04C
triadic
#9CA04C #4C9CA0 #A04C9C
tetradic
#9CA04C #4CA07A #504CA0 #A04C72
square
#9CA04C #4CA07A #504CA0 #A04C72
split-complementary
#9CA04C #4C72A0 #7A4CA0
monochromatic
#4B4D25 #747738 #9CA04C #B7BA6F #CCCE98

Accessibility & contrast

On white

2.78
#9CA04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#9CA04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA04C
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA04C#FFFFFF#000000##000000
##9CA04C1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A44
Deuteranopia (green-blind)
#AB9C50
Tritanopia (blue-blind)
#A5988D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca04c;
/* rgb */ color: rgb(156, 160, 76);
/* oklch */ color: oklch(68.4% 0.108 111.4);
Tailwind
colors: {
  custom: {
    50: '#bbbc80',
    500: '#9ca04c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca04c;
$custom-light: #bbbc80;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca04c",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 76
  },
  "hsl": {
    "h": 62.857,
    "s": 35.593,
    "l": 46.275
  },
  "oklch": {
    "l": 0.68447,
    "c": 0.10793,
    "h": 111.4
  },
  "luminance": 0.32731
}

Semantic roles & 50–950 ramp

primary
#9CA04C
secondary
#8F8DBB
accent
#5CCC61
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12110A
muted
#81807C

Preview Lab

Preview with #9CA04C

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

Preview Lab → · Contrast checker → · Palette generator →

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