#9EB331#9EB331

#9EB331 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.152 H 118.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#9EB331
RGBrgb(158, 179, 49)
HSLhsl(70, 57%, 45%)
HSVhsv(70, 73%, 70%)
CMYKcmyk(11.7%, 0%, 72.6%, 29.8%)
CIE-LABlab(69.28, -24.23, 60.06)
CIE-LCHlch(69.28, 64.77, 111.97°)
OKLaboklab(72.69% -0.0722 0.1335)
OKLCHoklch(72.69% 0.152 118.4)
XYZxyz(30.7757, 39.7313, 8.9528)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB331 #4631B3
analogous
#B38731 #9EB331 #5DB331
triadic
#9EB331 #319EB3 #B3319E
tetradic
#9EB331 #31B387 #4631B3 #B3315D
square
#9EB331 #31B387 #4631B3 #B3315D
split-complementary
#9EB331 #315DB3 #8731B3
monochromatic
#495317 #748324 #9EB331 #BBD052 #CEDD82

Accessibility & contrast

On white

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

On black

8.95
#9EB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB331
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB331#FFFFFF#000000##000000
##9EB3311.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#A8A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb331;
/* rgb */ color: rgb(158, 179, 49);
/* oklch */ color: oklch(72.7% 0.152 118.4);
Tailwind
colors: {
  custom: {
    50: '#bec972',
    500: '#9eb331',
    950: '#000000',
  },
}
SCSS
$custom: #9eb331;
$custom-light: #bec972;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb331",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 69.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72686,
    "c": 0.15174,
    "h": 118.4
  },
  "luminance": 0.39731
}

Semantic roles & 50–950 ramp

primary
#9EB331
secondary
#867AC6
accent
#48E060
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9EB331

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

Preview Lab → · Contrast checker → · Palette generator →

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