#9EA631#9EA631

#9EA631 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.7% C 0.137 H 113.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9EA631
RGBrgb(158, 166, 49)
HSLhsl(64, 54%, 42%)
HSVhsv(64, 70%, 65%)
CMYKcmyk(4.8%, 0%, 70.5%, 34.9%)
CIE-LABlab(65.56, -17.73, 56.43)
CIE-LCHlch(65.56, 59.15, 107.44°)
OKLaboklab(69.71% -0.0541 0.1258)
OKLCHoklch(69.71% 0.137 113.3)
XYZxyz(28.2920, 34.7639, 8.1249)
Luminance0.3476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA631 #3931A6
analogous
#A67431 #9EA631 #63A631
triadic
#9EA631 #319EA6 #A6319E
tetradic
#9EA631 #31A674 #3931A6 #A63163
square
#9EA631 #31A674 #3931A6 #A63163
split-complementary
#9EA631 #3163A6 #7431A6
monochromatic
#444715 #717723 #9EA631 #C1CA4A #D1D87A

Accessibility & contrast

On white

2.64
#9EA631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#9EA631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA631
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA631#FFFFFF#000000##000000
##9EA6311.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1E
Deuteranopia (green-blind)
#B2A03A
Tritanopia (blue-blind)
#A99C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ea631;
/* rgb */ color: rgb(158, 166, 49);
/* oklch */ color: oklch(69.7% 0.137 113.3);
Tailwind
colors: {
  custom: {
    50: '#bec071',
    500: '#9ea631',
    950: '#000000',
  },
}
SCSS
$custom: #9ea631;
$custom-light: #bec071;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea631",
  "rgb": {
    "r": 158,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 64.103,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69705,
    "c": 0.13696,
    "h": 113.3
  },
  "luminance": 0.34763
}

Semantic roles & 50–950 ramp

primary
#9EA631
secondary
#7873C0
accent
#4ADE54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA631

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

Preview Lab → · Contrast checker → · Palette generator →

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