#9CA158#9CA158

#9CA158 is a light, moderate yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.097 H 112.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9CA158
RGBrgb(156, 161, 88)
HSLhsl(64, 29%, 49%)
HSVhsv(64, 45%, 63%)
CMYKcmyk(3.1%, 0%, 45.3%, 36.9%)
CIE-LABlab(64.37, -12.89, 37.24)
CIE-LCHlch(64.37, 39.40, 109.09°)
OKLaboklab(68.84% -0.0363 0.0894)
OKLCHoklch(68.84% 0.097 112.1)
XYZxyz(28.2170, 33.2627, 14.1645)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA158 #5D58A1
analogous
#A18258 #9CA158 #78A158
triadic
#9CA158 #589CA1 #A1589C
tetradic
#9CA158 #58A182 #5D58A1 #A15878
square
#9CA158 #58A182 #5D58A1 #A15878
split-complementary
#9CA158 #5878A1 #8258A1
monochromatic
#4F522D #767942 #9CA158 #B4B87E #CBCEA5

Accessibility & contrast

On white

2.74
#9CA158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9CA158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA158
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA158#FFFFFF#000000##000000
##9CA1581.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B52
Deuteranopia (green-blind)
#AB9D5C
Tritanopia (blue-blind)
#A49990
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca158;
/* rgb */ color: rgb(156, 161, 88);
/* oklch */ color: oklch(68.8% 0.097 112.1);
Tailwind
colors: {
  custom: {
    50: '#babc89',
    500: '#9ca158',
    950: '#000000',
  },
}
SCSS
$custom: #9ca158;
$custom-light: #babc89;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca158",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 88
  },
  "hsl": {
    "h": 64.11,
    "s": 29.317,
    "l": 48.824
  },
  "oklch": {
    "l": 0.68837,
    "c": 0.09651,
    "h": 112.1
  },
  "luminance": 0.33262
}

Semantic roles & 50–950 ramp

primary
#9CA158
secondary
#9B99BC
accent
#62C669
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA158

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

Preview Lab → · Contrast checker → · Palette generator →

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