#9CA151#9CA151

#9CA151 is a light, moderate yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.104 H 112.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9CA151
RGBrgb(156, 161, 81)
HSLhsl(64, 33%, 47%)
HSVhsv(64, 50%, 63%)
CMYKcmyk(3.1%, 0%, 49.7%, 36.9%)
CIE-LABlab(64.28, -13.59, 40.68)
CIE-LCHlch(64.28, 42.89, 108.48°)
OKLaboklab(68.74% -0.039 0.0965)
OKLCHoklch(68.74% 0.104 112)
XYZxyz(27.9409, 33.1523, 12.7101)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA151 #5651A1
analogous
#A17E51 #9CA151 #74A151
triadic
#9CA151 #519CA1 #A1519C
tetradic
#9CA151 #51A17E #5651A1 #A15174
square
#9CA151 #51A17E #5651A1 #A15174
split-complementary
#9CA151 #5174A1 #7E51A1
monochromatic
#4D5028 #75783D #9CA151 #B6BA75 #CBCE9E

Accessibility & contrast

On white

2.75
#9CA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#9CA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA151
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA151#FFFFFF#000000##000000
##9CA1511.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B4A
Deuteranopia (green-blind)
#AC9D55
Tritanopia (blue-blind)
#A5998F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca151;
/* rgb */ color: rgb(156, 161, 81);
/* oklch */ color: oklch(68.7% 0.104 112.0);
Tailwind
colors: {
  custom: {
    50: '#bbbc84',
    500: '#9ca151',
    950: '#000000',
  },
}
SCSS
$custom: #9ca151;
$custom-light: #bbbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca151",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 63.75,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68737,
    "c": 0.10405,
    "h": 112
  },
  "luminance": 0.33152
}

Semantic roles & 50–950 ramp

primary
#9CA151
secondary
#9593BB
accent
#5FC965
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA151

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

Preview Lab → · Contrast checker → · Palette generator →

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