#9EA225#9EA225

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

Color values

HEX#9EA225
RGBrgb(158, 162, 37)
HSLhsl(62, 63%, 39%)
HSVhsv(62, 77%, 64%)
CMYKcmyk(2.5%, 0%, 77.2%, 36.5%)
CIE-LABlab(64.36, -16.25, 59.49)
CIE-LCHlch(64.36, 61.67, 105.28°)
OKLaboklab(68.72% -0.0511 0.1301)
OKLCHoklch(68.72% 0.14 111.5)
XYZxyz(27.3558, 33.2441, 6.7256)
Luminance0.3324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA225 #2925A2
analogous
#A26825 #9EA225 #60A225
triadic
#9EA225 #259EA2 #A2259E
tetradic
#9EA225 #25A268 #2925A2 #A22560
square
#9EA225 #25A268 #2925A2 #A22560
split-complementary
#9EA225 #2560A2 #6825A2
monochromatic
#3D3E0E #6D701A #9EA225 #CCD134 #D8DC65

Accessibility & contrast

On white

2.75
#9EA225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA225#FFFFFF#000000##000000
##9EA2251.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea225;
/* rgb */ color: rgb(158, 162, 37);
/* oklch */ color: oklch(68.7% 0.140 111.5);
Tailwind
colors: {
  custom: {
    50: '#bebd6a',
    500: '#9ea225',
    950: '#000000',
  },
}
SCSS
$custom: #9ea225;
$custom-light: #bebd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea225",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 61.92,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68717,
    "c": 0.13981,
    "h": 111.5
  },
  "luminance": 0.33243
}

Semantic roles & 50–950 ramp

primary
#9EA225
secondary
#6461C2
accent
#42E647
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA225

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

Preview Lab → · Contrast checker → · Palette generator →

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