#9CAB2B#9CAB2B

#9CAB2B is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.6% C 0.147 H 116.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#9CAB2B
RGBrgb(156, 171, 43)
HSLhsl(67, 60%, 42%)
HSVhsv(67, 75%, 67%)
CMYKcmyk(8.8%, 0%, 74.9%, 32.9%)
CIE-LABlab(66.80, -21.42, 59.72)
CIE-LCHlch(66.80, 63.45, 109.73°)
OKLaboklab(70.65% -0.0648 0.1318)
OKLCHoklch(70.65% 0.147 116.2)
XYZxyz(28.7100, 36.3686, 7.7924)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB2B #3A2BAB
analogous
#AB7A2B #9CAB2B #5CAB2B
triadic
#9CAB2B #2B9CAB #AB2B9C
tetradic
#9CAB2B #2BAB7A #3A2BAB #AB2B5C
square
#9CAB2B #2BAB7A #3A2BAB #AB2B5C
split-complementary
#9CAB2B #2B5CAB #7A2BAB
monochromatic
#434912 #6F7A1F #9CAB2B #BFD043 #D0DC74

Accessibility & contrast

On white

2.54
#9CAB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#9CAB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB2B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB2B#FFFFFF#000000##000000
##9CAB2B1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20E
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#A6A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9cab2b;
/* rgb */ color: rgb(156, 171, 43);
/* oklch */ color: oklch(70.6% 0.147 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc36e',
    500: '#9cab2b',
    950: '#000000',
  },
}
SCSS
$custom: #9cab2b;
$custom-light: #bdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab2b",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 67.031,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70647,
    "c": 0.14686,
    "h": 116.2
  },
  "luminance": 0.36368
}

Semantic roles & 50–950 ramp

primary
#9CAB2B
secondary
#786EC4
accent
#45E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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