#9AB31D#9AB31D

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

Color values

HEX#9AB31D
RGBrgb(154, 179, 29)
HSLhsl(70, 72%, 41%)
HSVhsv(70, 84%, 70%)
CMYKcmyk(14%, 0%, 83.8%, 29.8%)
CIE-LABlab(68.90, -26.75, 65.62)
CIE-LCHlch(68.90, 70.87, 112.18°)
OKLaboklab(72.28% -0.0804 0.142)
OKLCHoklch(72.28% 0.163 119.5)
XYZxyz(29.6690, 39.1991, 7.1654)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB31D #361DB3
analogous
#B3811D #9AB31D #4FB31D
triadic
#9AB31D #1D9AB3 #B31D9A
tetradic
#9AB31D #1DB381 #361DB3 #B31D4F
square
#9AB31D #1DB381 #361DB3 #B31D4F
split-complementary
#9AB31D #1D4FB3 #811DB3
monochromatic
#3F4A0C #6D7E14 #9AB31D #C0DD30 #D0E664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB31D#FFFFFF#000000##000000
##9AB31D1.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)
#BCA92E
Tritanopia (blue-blind)
#A4A999
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9ab31d;
/* rgb */ color: rgb(154, 179, 29);
/* oklch */ color: oklch(72.3% 0.163 119.5);
Tailwind
colors: {
  custom: {
    50: '#bcc96a',
    500: '#9ab31d',
    950: '#000000',
  },
}
SCSS
$custom: #9ab31d;
$custom-light: #bcc96a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab31d",
  "rgb": {
    "r": 154,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 70,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72275,
    "c": 0.1632,
    "h": 119.5
  },
  "luminance": 0.39199
}

Semantic roles & 50–950 ramp

primary
#9AB31D
secondary
#7361CB
accent
#39EF57
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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