#9EB31E#9EB31E

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

Color values

HEX#9EB31E
RGBrgb(158, 179, 30)
HSLhsl(68, 71%, 41%)
HSVhsv(68, 83%, 70%)
CMYKcmyk(11.7%, 0%, 83.2%, 29.8%)
CIE-LABlab(69.19, -25.03, 65.74)
CIE-LCHlch(69.19, 70.35, 110.85°)
OKLaboklab(72.58% -0.0759 0.1423)
OKLCHoklch(72.58% 0.161 118.1)
XYZxyz(30.4558, 39.6033, 7.2678)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB31E #331EB3
analogous
#B37D1E #9EB31E #54B31E
triadic
#9EB31E #1E9EB3 #B31E9E
tetradic
#9EB31E #1EB37D #331EB3 #B31E54
square
#9EB31E #1EB37D #331EB3 #B31E54
split-complementary
#9EB31E #1E54B3 #7D1EB3
monochromatic
#414A0C #707F15 #9EB31E #C4DD32 #D3E566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB31E#FFFFFF#000000##000000
##9EB31E1.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)
#BDAA2F
Tritanopia (blue-blind)
#A8A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb31e;
/* rgb */ color: rgb(158, 179, 30);
/* oklch */ color: oklch(72.6% 0.161 118.1);
Tailwind
colors: {
  custom: {
    50: '#bfc96a',
    500: '#9eb31e',
    950: '#000000',
  },
}
SCSS
$custom: #9eb31e;
$custom-light: #bfc96a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb31e",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 68.456,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72583,
    "c": 0.16124,
    "h": 118.1
  },
  "luminance": 0.39603
}

Semantic roles & 50–950 ramp

primary
#9EB31E
secondary
#7162CB
accent
#3AEE53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9EB31E

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

Preview Lab → · Contrast checker → · Palette generator →

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