#9EA271#9EA271

#9EA271 is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.068 H 111.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9EA271
RGBrgb(158, 162, 113)
HSLhsl(65, 21%, 54%)
HSVhsv(65, 30%, 64%)
CMYKcmyk(2.5%, 0%, 30.2%, 36.5%)
CIE-LABlab(65.20, -9.57, 25.08)
CIE-LCHlch(65.20, 26.84, 110.89°)
OKLaboklab(69.66% -0.0252 0.0627)
OKLCHoklch(69.66% 0.068 111.9)
XYZxyz(30.0016, 34.3024, 20.6601)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA271 #7571A2
analogous
#A28E71 #9EA271 #86A271
triadic
#9EA271 #719EA2 #A2719E
tetradic
#9EA271 #71A28E #7571A2 #A27186
square
#9EA271 #71A28E #7571A2 #A27186
split-complementary
#9EA271 #7186A2 #8E71A2
monochromatic
#5A5C3C #7E8155 #9EA271 #B7BA96 #D1D2BB

Accessibility & contrast

On white

2.67
#9EA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#9EA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA271
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA271#FFFFFF#000000##000000
##9EA2711.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99E6E
Deuteranopia (green-blind)
#A99F73
Tritanopia (blue-blind)
#A49C95
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea271;
/* rgb */ color: rgb(158, 162, 113);
/* oklch */ color: oklch(69.7% 0.068 111.9);
Tailwind
colors: {
  custom: {
    50: '#bbbd9a',
    500: '#9ea271',
    950: '#000000',
  },
}
SCSS
$custom: #9ea271;
$custom-light: #bbbd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea271",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 64.898,
    "s": 20.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.69663,
    "c": 0.06754,
    "h": 111.9
  },
  "luminance": 0.34302
}

Semantic roles & 50–950 ramp

primary
#9EA271
secondary
#AFADC2
accent
#6ABD71
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9EA271

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

Preview Lab → · Contrast checker → · Palette generator →

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