#5E902F#5E902F

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

Color values

HEX#5E902F
RGBrgb(94, 144, 47)
HSLhsl(91, 51%, 37%)
HSVhsv(91, 67%, 56%)
CMYKcmyk(34.7%, 0%, 67.4%, 43.5%)
CIE-LABlab(54.59, -33.44, 44.58)
CIE-LCHlch(54.59, 55.73, 126.87°)
OKLaboklab(59.72% -0.0938 0.102)
OKLCHoklch(59.72% 0.139 132.6)
XYZxyz(15.1022, 22.5308, 6.2419)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E902F #612F90
analogous
#8E902F #5E902F #2F9031
triadic
#5E902F #2F5E90 #902F5E
tetradic
#5E902F #2F8E90 #612F90 #90312F
square
#5E902F #2F8E90 #612F90 #90312F
split-complementary
#5E902F #312F90 #902F8E
monochromatic
#223411 #406220 #5E902F #7CBE3E #9BCF6B

Accessibility & contrast

On white

3.81
#5E902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5E902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E902F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E902F#FFFFFF#000000##000000
##5E902F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968522
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#5F8A7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e902f;
/* rgb */ color: rgb(94, 144, 47);
/* oklch */ color: oklch(59.7% 0.139 132.6);
Tailwind
colors: {
  custom: {
    50: '#8fb16d',
    500: '#5e902f',
    950: '#000000',
  },
}
SCSS
$custom: #5e902f;
$custom-light: #8fb16d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e902f",
  "rgb": {
    "r": 94,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 90.928,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59719,
    "c": 0.13858,
    "h": 132.6
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#5E902F
secondary
#8F65B6
accent
#4EDA96
background
#F9FAF6
surface
#F1F5EC
border
#CBCFC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E902F

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

Preview Lab → · Contrast checker → · Palette generator →

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