#9EB131#9EB131

#9EB131 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.149 H 117.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#9EB131
RGBrgb(158, 177, 49)
HSLhsl(69, 57%, 44%)
HSVhsv(69, 72%, 69%)
CMYKcmyk(10.7%, 0%, 72.3%, 30.6%)
CIE-LABlab(68.70, -23.25, 59.51)
CIE-LCHlch(68.70, 63.89, 111.34°)
OKLaboklab(72.22% -0.0695 0.1323)
OKLCHoklch(72.22% 0.149 117.7)
XYZxyz(30.3778, 38.9354, 8.8201)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB131 #4431B1
analogous
#B18431 #9EB131 #5EB131
triadic
#9EB131 #319EB1 #B1319E
tetradic
#9EB131 #31B184 #4431B1 #B1315E
square
#9EB131 #31B184 #4431B1 #B1315E
split-complementary
#9EB131 #315EB1 #8431B1
monochromatic
#485116 #738124 #9EB131 #BCCF51 #CEDC80

Accessibility & contrast

On white

2.39
#9EB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#9EB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB131
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB131#FFFFFF#000000##000000
##9EB1311.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#A8A798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb131;
/* rgb */ color: rgb(158, 177, 49);
/* oklch */ color: oklch(72.2% 0.149 117.7);
Tailwind
colors: {
  custom: {
    50: '#bec872',
    500: '#9eb131',
    950: '#000000',
  },
}
SCSS
$custom: #9eb131;
$custom-light: #bec872;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb131",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 68.906,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72225,
    "c": 0.14943,
    "h": 117.7
  },
  "luminance": 0.38935
}

Semantic roles & 50–950 ramp

primary
#9EB131
secondary
#8479C5
accent
#48E05E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9EB131

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

Preview Lab → · Contrast checker → · Palette generator →

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