#9CBF31#9CBF31

#9CBF31 is a light, vivid yellow-green. Relative luminance 0.446; OKLCH L 75.3% C 0.167 H 122.8°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#9CBF31
RGBrgb(156, 191, 49)
HSLhsl(75, 59%, 47%)
HSVhsv(75, 74%, 75%)
CMYKcmyk(18.3%, 0%, 74.3%, 25.1%)
CIE-LABlab(72.60, -30.82, 63.21)
CIE-LCHlch(72.60, 70.32, 116.00°)
OKLaboklab(75.33% -0.0903 0.1401)
OKLCHoklch(75.33% 0.167 122.8)
XYZxyz(32.8959, 44.5511, 9.7713)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CBF31 #5431BF
analogous
#BF9B31 #9CBF31 #55BF31
triadic
#9CBF31 #319CBF #BF319C
tetradic
#9CBF31 #31BF9B #5431BF #BF3155
square
#9CBF31 #31BF9B #5431BF #BF3155
split-complementary
#9CBF31 #3155BF #9B31BF
monochromatic
#4C5E18 #748E25 #9CBF31 #B6D459 #CBE18A

Accessibility & contrast

On white

2.12
#9CBF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#9CBF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CBF31
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CBF31#FFFFFF#000000##000000
##9CBF311.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB312
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#A4B5A4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #9cbf31;
/* rgb */ color: rgb(156, 191, 49);
/* oklch */ color: oklch(75.3% 0.167 122.8);
Tailwind
colors: {
  custom: {
    50: '#bdd274',
    500: '#9cbf31',
    950: '#000000',
  },
}
SCSS
$custom: #9cbf31;
$custom-light: #bdd274;
$custom-dark: #000000;
JSON
{
  "hex": "#9cbf31",
  "rgb": {
    "r": 156,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 74.789,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75326,
    "c": 0.16668,
    "h": 122.8
  },
  "luminance": 0.44551
}

Semantic roles & 50–950 ramp

primary
#9CBF31
secondary
#9381CB
accent
#45E26C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #9CBF31

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

Preview Lab → · Contrast checker → · Palette generator →

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