#9CB02F#9CB02F

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

Color values

HEX#9CB02F
RGBrgb(156, 176, 47)
HSLhsl(69, 58%, 44%)
HSVhsv(69, 73%, 69%)
CMYKcmyk(11.4%, 0%, 73.3%, 31%)
CIE-LABlab(68.26, -23.70, 59.73)
CIE-LCHlch(68.26, 64.26, 111.64°)
OKLaboklab(71.83% -0.0708 0.1325)
OKLCHoklch(71.83% 0.15 118.1)
XYZxyz(29.7494, 38.3241, 8.5189)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB02F #432FB0
analogous
#B0832F #9CB02F #5BB02F
triadic
#9CB02F #2F9CB0 #B02F9C
tetradic
#9CB02F #2FB083 #432FB0 #B02F5B
square
#9CB02F #2FB083 #432FB0 #B02F5B
split-complementary
#9CB02F #2F5BB0 #832FB0
monochromatic
#464F15 #718022 #9CB02F #BBCF4D #CEDC7D

Accessibility & contrast

On white

2.42
#9CB02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB02F#FFFFFF#000000##000000
##9CB02F1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cb02f;
/* rgb */ color: rgb(156, 176, 47);
/* oklch */ color: oklch(71.8% 0.150 118.1);
Tailwind
colors: {
  custom: {
    50: '#bdc771',
    500: '#9cb02f',
    950: '#000000',
  },
}
SCSS
$custom: #9cb02f;
$custom-light: #bdc771;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb02f",
  "rgb": {
    "r": 156,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 69.302,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71826,
    "c": 0.15022,
    "h": 118.1
  },
  "luminance": 0.38324
}

Semantic roles & 50–950 ramp

primary
#9CB02F
secondary
#8276C5
accent
#47E15F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB02F

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

Preview Lab → · Contrast checker → · Palette generator →

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