#9CB417#9CB417

#9CB417 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#9CB417
RGBrgb(156, 180, 23)
HSLhsl(69, 77%, 40%)
HSVhsv(69, 87%, 71%)
CMYKcmyk(13.3%, 0%, 87.2%, 29.4%)
CIE-LABlab(69.31, -26.57, 67.36)
CIE-LCHlch(69.31, 72.41, 111.52°)
OKLaboklab(72.64% -0.0804 0.1448)
OKLCHoklch(72.64% 0.166 119)
XYZxyz(30.1869, 39.7725, 6.8970)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB417 #2F17B4
analogous
#B47E17 #9CB417 #4EB417
triadic
#9CB417 #179CB4 #B4179C
tetradic
#9CB417 #17B47E #2F17B4 #B4174E
square
#9CB417 #17B47E #2F17B4 #B4174E
split-complementary
#9CB417 #174EB4 #7E17B4
monochromatic
#3E4709 #6D7E10 #9CB417 #C6E325 #D4EA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9cb417;
/* rgb */ color: rgb(156, 180, 23);
/* oklch */ color: oklch(72.6% 0.166 119.0);
Tailwind
colors: {
  custom: {
    50: '#bdca68',
    500: '#9cb417',
    950: '#000000',
  },
}
SCSS
$custom: #9cb417;
$custom-light: #bdca68;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb417",
  "rgb": {
    "r": 156,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 69.172,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.72637,
    "c": 0.16557,
    "h": 119
  },
  "luminance": 0.39772
}

Semantic roles & 50–950 ramp

primary
#9CB417
secondary
#6B59CE
accent
#34F451
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB417

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

Preview Lab → · Contrast checker → · Palette generator →

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