#9EA227#9EA227

#9EA227 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.139 H 111.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9EA227
RGBrgb(158, 162, 39)
HSLhsl(62, 61%, 39%)
HSVhsv(62, 76%, 64%)
CMYKcmyk(2.5%, 0%, 75.9%, 36.5%)
CIE-LABlab(64.37, -16.16, 58.85)
CIE-LCHlch(64.37, 61.03, 105.36°)
OKLaboklab(68.73% -0.0507 0.1291)
OKLCHoklch(68.73% 0.139 111.4)
XYZxyz(27.3880, 33.2570, 6.8956)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA227 #2B27A2
analogous
#A26927 #9EA227 #61A227
triadic
#9EA227 #279EA2 #A2279E
tetradic
#9EA227 #27A269 #2B27A2 #A22761
square
#9EA227 #27A269 #2B27A2 #A22761
split-complementary
#9EA227 #2761A2 #6927A2
monochromatic
#3E3F0F #6E711B #9EA227 #CACF37 #D7DB69

Accessibility & contrast

On white

2.74
#9EA227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9EA227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA227
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA227#FFFFFF#000000##000000
##9EA2271.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#A9988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea227;
/* rgb */ color: rgb(158, 162, 39);
/* oklch */ color: oklch(68.7% 0.139 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebd6b',
    500: '#9ea227',
    950: '#000000',
  },
}
SCSS
$custom: #9ea227;
$custom-light: #bebd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea227",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 61.951,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68729,
    "c": 0.13873,
    "h": 111.4
  },
  "luminance": 0.33256
}

Semantic roles & 50–950 ramp

primary
#9EA227
secondary
#6764C1
accent
#43E449
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA227

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

Preview Lab → · Contrast checker → · Palette generator →

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