#9CB02B#9CB02B

#9CB02B is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.8% C 0.153 H 118.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#9CB02B
RGBrgb(156, 176, 43)
HSLhsl(69, 61%, 43%)
HSVhsv(69, 76%, 69%)
CMYKcmyk(11.4%, 0%, 75.6%, 31%)
CIE-LABlab(68.24, -23.90, 61.07)
CIE-LCHlch(68.24, 65.58, 111.37°)
OKLaboklab(71.8% -0.0717 0.1346)
OKLCHoklch(71.8% 0.153 118)
XYZxyz(29.6724, 38.2933, 8.1132)
Luminance0.3829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB02B #3F2BB0
analogous
#B0822B #9CB02B #59B02B
triadic
#9CB02B #2B9CB0 #B02B9C
tetradic
#9CB02B #2BB082 #3F2BB0 #B02B59
square
#9CB02B #2BB082 #3F2BB0 #B02B59
split-complementary
#9CB02B #2B59B0 #822BB0
monochromatic
#454E13 #707F1F #9CB02B #BDD246 #CEDE78

Accessibility & contrast

On white

2.43
#9CB02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#9CB02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB02B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB02B#FFFFFF#000000##000000
##9CB02B1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA60B
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#A6A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9cb02b;
/* rgb */ color: rgb(156, 176, 43);
/* oklch */ color: oklch(71.8% 0.153 118.0);
Tailwind
colors: {
  custom: {
    50: '#bdc76f',
    500: '#9cb02b',
    950: '#000000',
  },
}
SCSS
$custom: #9cb02b;
$custom-light: #bdc76f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb02b",
  "rgb": {
    "r": 156,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 69.023,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71801,
    "c": 0.15252,
    "h": 118
  },
  "luminance": 0.38293
}

Semantic roles & 50–950 ramp

primary
#9CB02B
secondary
#7E71C6
accent
#44E45C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB02B

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

Preview Lab → · Contrast checker → · Palette generator →

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