#9CA152#9CA152

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

Color values

HEX#9CA152
RGBrgb(156, 161, 82)
HSLhsl(64, 33%, 48%)
HSVhsv(64, 49%, 63%)
CMYKcmyk(3.1%, 0%, 49.1%, 36.9%)
CIE-LABlab(64.30, -13.50, 40.19)
CIE-LCHlch(64.30, 42.40, 108.56°)
OKLaboklab(68.75% -0.0386 0.0955)
OKLCHoklch(68.75% 0.103 112)
XYZxyz(27.9787, 33.1674, 12.9091)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA152 #5752A1
analogous
#A17E52 #9CA152 #75A152
triadic
#9CA152 #529CA1 #A1529C
tetradic
#9CA152 #52A17E #5752A1 #A15275
square
#9CA152 #52A17E #5752A1 #A15275
split-complementary
#9CA152 #5275A1 #7E52A1
monochromatic
#4D5029 #75783D #9CA152 #B5BA77 #CBCE9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA152#FFFFFF#000000##000000
##9CA1521.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)
#AB9B4B
Deuteranopia (green-blind)
#AB9D56
Tritanopia (blue-blind)
#A5998F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca152;
/* rgb */ color: rgb(156, 161, 82);
/* oklch */ color: oklch(68.8% 0.103 112.0);
Tailwind
colors: {
  custom: {
    50: '#bbbc84',
    500: '#9ca152',
    950: '#000000',
  },
}
SCSS
$custom: #9ca152;
$custom-light: #bbbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca152",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 63.797,
    "s": 32.51,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68751,
    "c": 0.103,
    "h": 112
  },
  "luminance": 0.33167
}

Semantic roles & 50–950 ramp

primary
#9CA152
secondary
#9693BB
accent
#5FC966
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA152

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

Preview Lab → · Contrast checker → · Palette generator →

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