#9CB41B#9CB41B

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

Color values

HEX#9CB41B
RGBrgb(156, 180, 27)
HSLhsl(69, 74%, 41%)
HSVhsv(69, 85%, 71%)
CMYKcmyk(13.3%, 0%, 85%, 29.4%)
CIE-LABlab(69.32, -26.46, 66.51)
CIE-LCHlch(69.32, 71.58, 111.69°)
OKLaboklab(72.65% -0.0798 0.1435)
OKLCHoklch(72.65% 0.164 119.1)
XYZxyz(30.2301, 39.7898, 7.1244)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB41B #331BB4
analogous
#B47F1B #9CB41B #4FB41B
triadic
#9CB41B #1B9CB4 #B41B9C
tetradic
#9CB41B #1BB47F #331BB4 #B41B4F
square
#9CB41B #1BB47F #331BB4 #B41B4F
split-complementary
#9CB41B #1B4FB4 #7F1BB4
monochromatic
#404A0B #6E7F13 #9CB41B #C3DF2D #D3E762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB41B#FFFFFF#000000##000000
##9CB41B1.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)
#BEAA2D
Tritanopia (blue-blind)
#A6AA99
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb41b;
/* rgb */ color: rgb(156, 180, 27);
/* oklch */ color: oklch(72.7% 0.164 119.1);
Tailwind
colors: {
  custom: {
    50: '#bdca69',
    500: '#9cb41b',
    950: '#000000',
  },
}
SCSS
$custom: #9cb41b;
$custom-light: #bdca69;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb41b",
  "rgb": {
    "r": 156,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 69.412,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72651,
    "c": 0.16424,
    "h": 119.1
  },
  "luminance": 0.3979
}

Semantic roles & 50–950 ramp

primary
#9CB41B
secondary
#705FCC
accent
#37F154
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB41B

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

Preview Lab → · Contrast checker → · Palette generator →

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