#9CAB4E#9CAB4E

#9CAB4E is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.120 H 117.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#9CAB4E
RGBrgb(156, 171, 78)
HSLhsl(70, 37%, 49%)
HSVhsv(70, 54%, 67%)
CMYKcmyk(8.8%, 0%, 54.4%, 32.9%)
CIE-LABlab(67.08, -19.02, 45.44)
CIE-LCHlch(67.08, 49.26, 112.72°)
OKLaboklab(70.97% -0.0547 0.1065)
OKLCHoklch(70.97% 0.12 117.2)
XYZxyz(29.6488, 36.7441, 12.7367)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB4E #5D4EAB
analogous
#AB8C4E #9CAB4E #6EAB4E
triadic
#9CAB4E #4E9CAB #AB4E9C
tetradic
#9CAB4E #4EAB8C #5D4EAB #AB4E6E
square
#9CAB4E #4EAB8C #5D4EAB #AB4E6E
split-complementary
#9CAB4E #4E6EAB #8C4EAB
monochromatic
#4F5728 #76813B #9CAB4E #B4C076 #CBD4A0

Accessibility & contrast

On white

2.52
#9CAB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#9CAB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB4E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB4E#FFFFFF#000000##000000
##9CAB4E1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A345
Deuteranopia (green-blind)
#B4A453
Tritanopia (blue-blind)
#A4A396
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cab4e;
/* rgb */ color: rgb(156, 171, 78);
/* oklch */ color: oklch(71.0% 0.120 117.2);
Tailwind
colors: {
  custom: {
    50: '#bbc482',
    500: '#9cab4e',
    950: '#000000',
  },
}
SCSS
$custom: #9cab4e;
$custom-light: #bbc482;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab4e",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 69.677,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70966,
    "c": 0.11974,
    "h": 117.2
  },
  "luminance": 0.36744
}

Semantic roles & 50–950 ramp

primary
#9CAB4E
secondary
#9B94C1
accent
#5ACD6D
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CAB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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