#9AB31A#9AB31A

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

Color values

HEX#9AB31A
RGBrgb(154, 179, 26)
HSLhsl(70, 75%, 40%)
HSVhsv(70, 85%, 70%)
CMYKcmyk(14%, 0%, 85.5%, 29.8%)
CIE-LABlab(68.89, -26.84, 66.31)
CIE-LCHlch(68.89, 71.54, 112.04°)
OKLaboklab(72.26% -0.0809 0.143)
OKLCHoklch(72.26% 0.164 119.5)
XYZxyz(29.6337, 39.1850, 6.9794)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB31A #331AB3
analogous
#B37F1A #9AB31A #4DB31A
triadic
#9AB31A #1A9AB3 #B31A9A
tetradic
#9AB31A #1AB37F #331AB3 #B31A4D
square
#9AB31A #1AB37F #331AB3 #B31A4D
split-complementary
#9AB31A #1A4DB3 #7F1AB3
monochromatic
#3E480A #6C7E12 #9AB31A #C2E02A #D2E860

Accessibility & contrast

On white

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

On black

8.84
#9AB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB31A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB31A#FFFFFF#000000##000000
##9AB31A1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ab31a;
/* rgb */ color: rgb(154, 179, 26);
/* oklch */ color: oklch(72.3% 0.164 119.5);
Tailwind
colors: {
  custom: {
    50: '#bcc969',
    500: '#9ab31a',
    950: '#000000',
  },
}
SCSS
$custom: #9ab31a;
$custom-light: #bcc969;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab31a",
  "rgb": {
    "r": 154,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 69.804,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.72264,
    "c": 0.16429,
    "h": 119.5
  },
  "luminance": 0.39185
}

Semantic roles & 50–950 ramp

primary
#9AB31A
secondary
#6F5DCC
accent
#37F155
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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