#9AB415#9AB415

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

Color values

HEX#9AB415
RGBrgb(154, 180, 21)
HSLhsl(70, 79%, 39%)
HSVhsv(70, 88%, 71%)
CMYKcmyk(14.4%, 0%, 88.3%, 29.4%)
CIE-LABlab(69.16, -27.46, 67.57)
CIE-LCHlch(69.16, 72.93, 112.12°)
OKLaboklab(72.48% -0.0828 0.145)
OKLCHoklch(72.48% 0.167 119.7)
XYZxyz(29.7837, 39.5668, 6.7775)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB415 #2F15B4
analogous
#B47E15 #9AB415 #4BB415
triadic
#9AB415 #159AB4 #B4159A
tetradic
#9AB415 #15B47E #2F15B4 #B4154B
square
#9AB415 #15B47E #2F15B4 #B4154B
split-complementary
#9AB415 #154BB4 #7E15B4
monochromatic
#3C4608 #6B7D0F #9AB415 #C5E521 #D3EC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB415#FFFFFF#000000##000000
##9AB4151.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)
#BDA92A
Tritanopia (blue-blind)
#A4AA99
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9ab415;
/* rgb */ color: rgb(154, 180, 21);
/* oklch */ color: oklch(72.5% 0.167 119.7);
Tailwind
colors: {
  custom: {
    50: '#bcca67',
    500: '#9ab415',
    950: '#000000',
  },
}
SCSS
$custom: #9ab415;
$custom-light: #bcca67;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab415",
  "rgb": {
    "r": 154,
    "g": 180,
    "b": 21
  },
  "hsl": {
    "h": 69.811,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.72481,
    "c": 0.16697,
    "h": 119.7
  },
  "luminance": 0.39567
}

Semantic roles & 50–950 ramp

primary
#9AB415
secondary
#6A56CF
accent
#32F652
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB415

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

Preview Lab → · Contrast checker → · Palette generator →

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