#9EB31D#9EB31D

#9EB31D is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.6% C 0.162 H 118.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#9EB31D
RGBrgb(158, 179, 29)
HSLhsl(68, 72%, 41%)
HSVhsv(68, 84%, 70%)
CMYKcmyk(11.7%, 0%, 83.8%, 29.8%)
CIE-LABlab(69.18, -25.07, 65.98)
CIE-LCHlch(69.18, 70.58, 110.80°)
OKLaboklab(72.58% -0.076 0.1426)
OKLCHoklch(72.58% 0.162 118.1)
XYZxyz(30.4432, 39.5983, 7.2016)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB31D #321DB3
analogous
#B37D1D #9EB31D #53B31D
triadic
#9EB31D #1D9EB3 #B31D9E
tetradic
#9EB31D #1DB37D #321DB3 #B31D53
square
#9EB31D #1DB37D #321DB3 #B31D53
split-complementary
#9EB31D #1D53B3 #7D1DB3
monochromatic
#414A0C #707E14 #9EB31D #C5DD30 #D4E664

Accessibility & contrast

On white

2.35
#9EB31D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#9EB31D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB31D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB31D#FFFFFF#000000##000000
##9EB31D1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BDAA2E
Tritanopia (blue-blind)
#A8A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb31d;
/* rgb */ color: rgb(158, 179, 29);
/* oklch */ color: oklch(72.6% 0.162 118.1);
Tailwind
colors: {
  custom: {
    50: '#bfc96a',
    500: '#9eb31d',
    950: '#000000',
  },
}
SCSS
$custom: #9eb31d;
$custom-light: #bfc96a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb31d",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 68.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72579,
    "c": 0.16162,
    "h": 118.1
  },
  "luminance": 0.39598
}

Semantic roles & 50–950 ramp

primary
#9EB31D
secondary
#7061CB
accent
#39EF52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9EB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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