#9CA15C#9CA15C

#9CA15C is a light, moderate yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.092 H 112.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9CA15C
RGBrgb(156, 161, 92)
HSLhsl(64, 27%, 50%)
HSVhsv(64, 43%, 63%)
CMYKcmyk(3.1%, 0%, 42.9%, 36.9%)
CIE-LABlab(64.43, -12.45, 35.23)
CIE-LCHlch(64.43, 37.37, 109.46°)
OKLaboklab(68.9% -0.0347 0.0852)
OKLCHoklch(68.9% 0.092 112.2)
XYZxyz(28.3873, 33.3308, 15.0612)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA15C #615CA1
analogous
#A1845C #9CA15C #7AA15C
triadic
#9CA15C #5C9CA1 #A15C9C
tetradic
#9CA15C #5CA184 #615CA1 #A15C7A
square
#9CA15C #5CA184 #615CA1 #A15C7A
split-complementary
#9CA15C #5C7AA1 #845CA1
monochromatic
#51532F #767A46 #9CA15C #B4B882 #CBCEA9

Accessibility & contrast

On white

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

On black

7.67
#9CA15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA15C
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA15C#FFFFFF#000000##000000
##9CA15C1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B56
Deuteranopia (green-blind)
#AA9D5F
Tritanopia (blue-blind)
#A49A90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca15c;
/* rgb */ color: rgb(156, 161, 92);
/* oklch */ color: oklch(68.9% 0.092 112.2);
Tailwind
colors: {
  custom: {
    50: '#babc8b',
    500: '#9ca15c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca15c;
$custom-light: #babc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca15c",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 92
  },
  "hsl": {
    "h": 64.348,
    "s": 27.273,
    "l": 49.608
  },
  "oklch": {
    "l": 0.68899,
    "c": 0.09201,
    "h": 112.2
  },
  "luminance": 0.3333
}

Semantic roles & 50–950 ramp

primary
#9CA15C
secondary
#9F9DBC
accent
#64C46B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9CA15C

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

Preview Lab → · Contrast checker → · Palette generator →

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