#9CB41F#9CB41F

#9CB41F is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.7% C 0.163 H 119.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#9CB41F
RGBrgb(156, 180, 31)
HSLhsl(70, 71%, 41%)
HSVhsv(70, 83%, 71%)
CMYKcmyk(13.3%, 0%, 82.8%, 29.4%)
CIE-LABlab(69.33, -26.33, 65.56)
CIE-LCHlch(69.33, 70.65, 111.88°)
OKLaboklab(72.67% -0.0793 0.1421)
OKLCHoklch(72.67% 0.163 119.2)
XYZxyz(30.2796, 39.8096, 7.3849)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB41F #371FB4
analogous
#B4821F #9CB41F #52B41F
triadic
#9CB41F #1F9CB4 #B41F9C
tetradic
#9CB41F #1FB482 #371FB4 #B41F52
square
#9CB41F #1FB482 #371FB4 #B41F52
split-complementary
#9CB41F #1F52B4 #821FB4
monochromatic
#424C0D #6F8016 #9CB41F #C1DC34 #D1E568

Accessibility & contrast

On white

2.34
#9CB41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#9CB41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB41F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB41F#FFFFFF#000000##000000
##9CB41F1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BDAA2F
Tritanopia (blue-blind)
#A6AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb41f;
/* rgb */ color: rgb(156, 180, 31);
/* oklch */ color: oklch(72.7% 0.163 119.2);
Tailwind
colors: {
  custom: {
    50: '#bdca6a',
    500: '#9cb41f',
    950: '#000000',
  },
}
SCSS
$custom: #9cb41f;
$custom-light: #bdca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb41f",
  "rgb": {
    "r": 156,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 69.664,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72667,
    "c": 0.16273,
    "h": 119.2
  },
  "luminance": 0.39809
}

Semantic roles & 50–950 ramp

primary
#9CB41F
secondary
#7564CB
accent
#3AED57
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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