#9AB417#9AB417

#9AB417 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.5% C 0.166 H 119.8°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#9AB417
RGBrgb(154, 180, 23)
HSLhsl(70, 77%, 40%)
HSVhsv(70, 87%, 71%)
CMYKcmyk(14.4%, 0%, 87.2%, 29.4%)
CIE-LABlab(69.17, -27.41, 67.18)
CIE-LCHlch(69.17, 72.56, 112.19°)
OKLaboklab(72.49% -0.0826 0.1445)
OKLCHoklch(72.49% 0.166 119.8)
XYZxyz(29.8030, 39.5746, 6.8790)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB417 #3117B4
analogous
#B47F17 #9AB417 #4CB417
triadic
#9AB417 #179AB4 #B4179A
tetradic
#9AB417 #17B47F #3117B4 #B4174C
square
#9AB417 #17B47F #3117B4 #B4174C
split-complementary
#9AB417 #174CB4 #7F17B4
monochromatic
#3D4709 #6C7E10 #9AB417 #C4E325 #D2EA5B

Accessibility & contrast

On white

2.36
#9AB417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#9AB417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB417
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB417#FFFFFF#000000##000000
##9AB4171.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ab417;
/* rgb */ color: rgb(154, 180, 23);
/* oklch */ color: oklch(72.5% 0.166 119.8);
Tailwind
colors: {
  custom: {
    50: '#bcca68',
    500: '#9ab417',
    950: '#000000',
  },
}
SCSS
$custom: #9ab417;
$custom-light: #bcca68;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab417",
  "rgb": {
    "r": 154,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 69.936,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.72487,
    "c": 0.16638,
    "h": 119.8
  },
  "luminance": 0.39574
}

Semantic roles & 50–950 ramp

primary
#9AB417
secondary
#6C59CE
accent
#34F454
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB417

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

Preview Lab → · Contrast checker → · Palette generator →

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