#9EA431#9EA431

#9EA431 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.135 H 112.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9EA431
RGBrgb(158, 164, 49)
HSLhsl(63, 54%, 42%)
HSVhsv(63, 70%, 64%)
CMYKcmyk(3.7%, 0%, 70.1%, 35.7%)
CIE-LABlab(65.00, -16.70, 55.87)
CIE-LCHlch(65.00, 58.31, 106.64°)
OKLaboklab(69.25% -0.0513 0.1246)
OKLCHoklch(69.25% 0.135 112.4)
XYZxyz(27.9312, 34.0424, 8.0046)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA431 #3731A4
analogous
#A47131 #9EA431 #65A431
triadic
#9EA431 #319EA4 #A4319E
tetradic
#9EA431 #31A471 #3731A4 #A43165
square
#9EA431 #31A471 #3731A4 #A43165
split-complementary
#9EA431 #3165A4 #7131A4
monochromatic
#434615 #717523 #9EA431 #C2C949 #D2D779

Accessibility & contrast

On white

2.69
#9EA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#9EA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA431
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA431#FFFFFF#000000##000000
##9EA4311.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#B19F3A
Tritanopia (blue-blind)
#A99A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea431;
/* rgb */ color: rgb(158, 164, 49);
/* oklch */ color: oklch(69.3% 0.135 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebe71',
    500: '#9ea431',
    950: '#000000',
  },
}
SCSS
$custom: #9ea431;
$custom-light: #bebe71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea431",
  "rgb": {
    "r": 158,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 63.13,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.13475,
    "h": 112.4
  },
  "luminance": 0.34042
}

Semantic roles & 50–950 ramp

primary
#9EA431
secondary
#7672BF
accent
#4ADD52
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA431

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

Preview Lab → · Contrast checker → · Palette generator →

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