#9CB31D#9CB31D

#9CB31D is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.4% C 0.162 H 118.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#9CB31D
RGBrgb(156, 179, 29)
HSLhsl(69, 72%, 41%)
HSVhsv(69, 84%, 70%)
CMYKcmyk(12.8%, 0%, 83.8%, 29.8%)
CIE-LABlab(69.04, -25.91, 65.80)
CIE-LCHlch(69.04, 70.72, 111.49°)
OKLaboklab(72.43% -0.0782 0.1423)
OKLCHoklch(72.43% 0.162 118.8)
XYZxyz(30.0529, 39.3971, 7.1834)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB31D #341DB3
analogous
#B37F1D #9CB31D #51B31D
triadic
#9CB31D #1D9CB3 #B31D9C
tetradic
#9CB31D #1DB37F #341DB3 #B31D51
square
#9CB31D #1DB37F #341DB3 #B31D51
split-complementary
#9CB31D #1D51B3 #7F1DB3
monochromatic
#404A0C #6E7E14 #9CB31D #C3DD30 #D2E664

Accessibility & contrast

On white

2.37
#9CB31D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#9CB31D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB31D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB31D#FFFFFF#000000##000000
##9CB31D1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BDA92E
Tritanopia (blue-blind)
#A6A999
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb31d;
/* rgb */ color: rgb(156, 179, 29);
/* oklch */ color: oklch(72.4% 0.162 118.8);
Tailwind
colors: {
  custom: {
    50: '#bdc96a',
    500: '#9cb31d',
    950: '#000000',
  },
}
SCSS
$custom: #9cb31d;
$custom-light: #bdc96a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb31d",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 69.2,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72426,
    "c": 0.1624,
    "h": 118.8
  },
  "luminance": 0.39397
}

Semantic roles & 50–950 ramp

primary
#9CB31D
secondary
#7161CB
accent
#39EF55
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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