#9CB415#9CB415

#9CB415 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.6% C 0.166 H 119.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#9CB415
RGBrgb(156, 180, 21)
HSLhsl(69, 79%, 39%)
HSVhsv(69, 88%, 71%)
CMYKcmyk(13.3%, 0%, 88.3%, 29.4%)
CIE-LABlab(69.30, -26.61, 67.74)
CIE-LCHlch(69.30, 72.78, 111.45°)
OKLaboklab(72.63% -0.0806 0.1453)
OKLCHoklch(72.63% 0.166 119)
XYZxyz(30.1677, 39.7648, 6.7954)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB415 #2D15B4
analogous
#B47D15 #9CB415 #4CB415
triadic
#9CB415 #159CB4 #B4159C
tetradic
#9CB415 #15B47D #2D15B4 #B4154C
square
#9CB415 #15B47D #2D15B4 #B4154C
split-complementary
#9CB415 #154CB4 #7D15B4
monochromatic
#3D4608 #6D7D0F #9CB415 #C8E521 #D5EC58

Accessibility & contrast

On white

2.35
#9CB415 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#9CB415 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB415
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB415#FFFFFF#000000##000000
##9CB4151.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cb415;
/* rgb */ color: rgb(156, 180, 21);
/* oklch */ color: oklch(72.6% 0.166 119.0);
Tailwind
colors: {
  custom: {
    50: '#bdca67',
    500: '#9cb415',
    950: '#000000',
  },
}
SCSS
$custom: #9cb415;
$custom-light: #bdca67;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb415",
  "rgb": {
    "r": 156,
    "g": 180,
    "b": 21
  },
  "hsl": {
    "h": 69.057,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.72631,
    "c": 0.16616,
    "h": 119
  },
  "luminance": 0.39765
}

Semantic roles & 50–950 ramp

primary
#9CB415
secondary
#6856CF
accent
#32F650
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB415

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

Preview Lab → · Contrast checker → · Palette generator →

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