#9EA251#9EA251

#9EA251 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.105 H 111.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9EA251
RGBrgb(158, 162, 81)
HSLhsl(63, 33%, 48%)
HSVhsv(63, 50%, 64%)
CMYKcmyk(2.5%, 0%, 50%, 36.5%)
CIE-LABlab(64.73, -13.28, 41.24)
CIE-LCHlch(64.73, 43.33, 107.84°)
OKLaboklab(69.13% -0.0382 0.0977)
OKLCHoklch(69.13% 0.105 111.4)
XYZxyz(28.5066, 33.7044, 12.7869)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA251 #5551A2
analogous
#A27D51 #9EA251 #75A251
triadic
#9EA251 #519EA2 #A2519E
tetradic
#9EA251 #51A27D #5551A2 #A25175
square
#9EA251 #51A27D #5551A2 #A25175
split-complementary
#9EA251 #5175A2 #7D51A2
monochromatic
#4E5028 #76793D #9EA251 #B7BA76 #CCCF9F

Accessibility & contrast

On white

2.71
#9EA251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#9EA251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA251
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA251#FFFFFF#000000##000000
##9EA2511.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C4A
Deuteranopia (green-blind)
#AD9E55
Tritanopia (blue-blind)
#A79A8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ea251;
/* rgb */ color: rgb(158, 162, 81);
/* oklch */ color: oklch(69.1% 0.105 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd84',
    500: '#9ea251',
    950: '#000000',
  },
}
SCSS
$custom: #9ea251;
$custom-light: #bcbd84;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea251",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 81
  },
  "hsl": {
    "h": 62.963,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69131,
    "c": 0.10488,
    "h": 111.4
  },
  "luminance": 0.33704
}

Semantic roles & 50–950 ramp

primary
#9EA251
secondary
#9593BC
accent
#5EC964
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9EA251

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

Preview Lab → · Contrast checker → · Palette generator →

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