#5E902A#5E902A

#5E902A is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.7% C 0.142 H 132.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5E902A
RGBrgb(94, 144, 42)
HSLhsl(89, 55%, 36%)
HSVhsv(89, 71%, 56%)
CMYKcmyk(34.7%, 0%, 70.8%, 43.5%)
CIE-LABlab(54.55, -33.83, 46.64)
CIE-LCHlch(54.55, 57.62, 125.96°)
OKLaboklab(59.67% -0.0953 0.1057)
OKLCHoklch(59.67% 0.142 132)
XYZxyz(15.0071, 22.4928, 5.7409)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E902A #5C2A90
analogous
#908F2A #5E902A #2B902A
triadic
#5E902A #2A5E90 #902A5E
tetradic
#5E902A #2A908F #5C2A90 #902A2B
square
#5E902A #2A908F #5C2A90 #902A2B
split-complementary
#5E902A #2A2B90 #8F2A90
monochromatic
#20310E #3F611C #5E902A #7DBF38 #9BD163

Accessibility & contrast

On white

3.82
#5E902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5E902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E902A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E902A#FFFFFF#000000##000000
##5E902A1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851A
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#5F8A7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e902a;
/* rgb */ color: rgb(94, 144, 42);
/* oklch */ color: oklch(59.7% 0.142 132.0);
Tailwind
colors: {
  custom: {
    50: '#90b16a',
    500: '#5e902a',
    950: '#000000',
  },
}
SCSS
$custom: #5e902a;
$custom-light: #90b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e902a",
  "rgb": {
    "r": 94,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 89.412,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59674,
    "c": 0.14225,
    "h": 132
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#5E902A
secondary
#8A5EB7
accent
#4ADE92
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E902A

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

Preview Lab → · Contrast checker → · Palette generator →

#5E902A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva