#9EA02A#9EA02A

#9EA02A is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.135 H 110.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9EA02A
RGBrgb(158, 160, 42)
HSLhsl(61, 58%, 40%)
HSVhsv(61, 74%, 63%)
CMYKcmyk(1.2%, 0%, 73.8%, 37.3%)
CIE-LABlab(63.82, -14.99, 57.30)
CIE-LCHlch(63.82, 59.23, 104.66°)
OKLaboklab(68.29% -0.0472 0.1264)
OKLCHoklch(68.29% 0.135 110.5)
XYZxyz(27.0902, 32.5786, 7.0513)
Luminance0.3258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA02A #2C2AA0
analogous
#A0672A #9EA02A #63A02A
triadic
#9EA02A #2A9EA0 #A02A9E
tetradic
#9EA02A #2AA067 #2C2AA0 #A02A63
square
#9EA02A #2AA067 #2C2AA0 #A02A63
split-complementary
#9EA02A #2A63A0 #672AA0
monochromatic
#3E3F11 #6E701D #9EA02A #C9CC3C #D7D86C

Accessibility & contrast

On white

2.79
#9EA02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#9EA02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA02A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA02A#FFFFFF#000000##000000
##9EA02A1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#A99689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea02a;
/* rgb */ color: rgb(158, 160, 42);
/* oklch */ color: oklch(68.3% 0.135 110.5);
Tailwind
colors: {
  custom: {
    50: '#bebb6d',
    500: '#9ea02a',
    950: '#000000',
  },
}
SCSS
$custom: #9ea02a;
$custom-light: #bebb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea02a",
  "rgb": {
    "r": 158,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 61.017,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68294,
    "c": 0.13493,
    "h": 110.5
  },
  "luminance": 0.32578
}

Semantic roles & 50–950 ramp

primary
#9EA02A
secondary
#6867BF
accent
#46E249
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9EA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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