#9AB316#9AB316

#9AB316 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.3% C 0.166 H 119.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#9AB316
RGBrgb(154, 179, 22)
HSLhsl(70, 78%, 39%)
HSVhsv(70, 88%, 70%)
CMYKcmyk(14%, 0%, 87.7%, 29.8%)
CIE-LABlab(68.87, -26.95, 67.14)
CIE-LCHlch(68.87, 72.34, 111.87°)
OKLaboklab(72.25% -0.0814 0.1442)
OKLCHoklch(72.25% 0.166 119.4)
XYZxyz(29.5920, 39.1683, 6.7602)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB316 #2F16B3
analogous
#B37E16 #9AB316 #4CB316
triadic
#9AB316 #169AB3 #B3169A
tetradic
#9AB316 #16B37E #2F16B3 #B3164C
square
#9AB316 #16B37E #2F16B3 #B3164C
split-complementary
#9AB316 #164CB3 #7E16B3
monochromatic
#3C4609 #6B7C0F #9AB316 #C5E422 #D3EB59

Accessibility & contrast

On white

2.38
#9AB316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#9AB316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB316
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB316#FFFFFF#000000##000000
##9AB3161.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ab316;
/* rgb */ color: rgb(154, 179, 22);
/* oklch */ color: oklch(72.3% 0.166 119.4);
Tailwind
colors: {
  custom: {
    50: '#bcc967',
    500: '#9ab316',
    950: '#000000',
  },
}
SCSS
$custom: #9ab316;
$custom-light: #bcc967;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab316",
  "rgb": {
    "r": 154,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 69.554,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.7225,
    "c": 0.16558,
    "h": 119.4
  },
  "luminance": 0.39168
}

Semantic roles & 50–950 ramp

primary
#9AB316
secondary
#6A57CE
accent
#33F552
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB316

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

Preview Lab → · Contrast checker → · Palette generator →

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