#9EA931#9EA931

#9EA931 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.140 H 114.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9EA931
RGBrgb(158, 169, 49)
HSLhsl(66, 55%, 43%)
HSVhsv(66, 71%, 66%)
CMYKcmyk(6.5%, 0%, 71%, 33.7%)
CIE-LABlab(66.42, -19.25, 57.27)
CIE-LCHlch(66.42, 60.42, 108.58°)
OKLaboklab(70.39% -0.0584 0.1276)
OKLCHoklch(70.39% 0.14 114.6)
XYZxyz(28.8437, 35.8673, 8.3088)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA931 #3C31A9
analogous
#A97831 #9EA931 #62A931
triadic
#9EA931 #319EA9 #A9319E
tetradic
#9EA931 #31A978 #3C31A9 #A93162
square
#9EA931 #31A978 #3C31A9 #A93162
split-complementary
#9EA931 #3162A9 #7831A9
monochromatic
#454A15 #727A23 #9EA931 #BFCB4C #D0D97C

Accessibility & contrast

On white

2.57
#9EA931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#9EA931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA931
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA931#FFFFFF#000000##000000
##9EA9311.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11C
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#A89F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ea931;
/* rgb */ color: rgb(158, 169, 49);
/* oklch */ color: oklch(70.4% 0.140 114.6);
Tailwind
colors: {
  custom: {
    50: '#bec271',
    500: '#9ea931',
    950: '#000000',
  },
}
SCSS
$custom: #9ea931;
$custom-light: #bec271;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea931",
  "rgb": {
    "r": 158,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 65.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7039,
    "c": 0.1403,
    "h": 114.6
  },
  "luminance": 0.35867
}

Semantic roles & 50–950 ramp

primary
#9EA931
secondary
#7B74C1
accent
#49DE57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA931

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

Preview Lab → · Contrast checker → · Palette generator →

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