#9EA831#9EA831

#9EA831 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.139 H 114.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9EA831
RGBrgb(158, 168, 49)
HSLhsl(65, 55%, 43%)
HSVhsv(65, 71%, 66%)
CMYKcmyk(6%, 0%, 70.8%, 34.1%)
CIE-LABlab(66.13, -18.74, 56.99)
CIE-LCHlch(66.13, 59.99, 108.21°)
OKLaboklab(70.16% -0.057 0.127)
OKLCHoklch(70.16% 0.139 114.2)
XYZxyz(28.6584, 35.4967, 8.2470)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA831 #3B31A8
analogous
#A87631 #9EA831 #62A831
triadic
#9EA831 #319EA8 #A8319E
tetradic
#9EA831 #31A876 #3B31A8 #A83162
square
#9EA831 #31A876 #3B31A8 #A83162
split-complementary
#9EA831 #3162A8 #7631A8
monochromatic
#454915 #717923 #9EA831 #C0CB4C #D1D87B

Accessibility & contrast

On white

2.59
#9EA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#9EA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA831
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA831#FFFFFF#000000##000000
##9EA8311.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01D
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#A89E91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ea831;
/* rgb */ color: rgb(158, 168, 49);
/* oklch */ color: oklch(70.2% 0.139 114.2);
Tailwind
colors: {
  custom: {
    50: '#bec171',
    500: '#9ea831',
    950: '#000000',
  },
}
SCSS
$custom: #9ea831;
$custom-light: #bec171;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea831",
  "rgb": {
    "r": 158,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 65.042,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70161,
    "c": 0.13918,
    "h": 114.2
  },
  "luminance": 0.35496
}

Semantic roles & 50–950 ramp

primary
#9EA831
secondary
#7A74C1
accent
#4ADE56
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA831

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

Preview Lab → · Contrast checker → · Palette generator →

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