#5E8D2A#5E8D2A

#5E8D2A is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.9% C 0.138 H 131.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5E8D2A
RGBrgb(94, 141, 42)
HSLhsl(88, 54%, 36%)
HSVhsv(88, 70%, 55%)
CMYKcmyk(33.3%, 0%, 70.2%, 44.7%)
CIE-LABlab(53.60, -32.46, 45.65)
CIE-LCHlch(53.60, 56.02, 125.41°)
OKLaboklab(58.9% -0.0915 0.1036)
OKLCHoklch(58.9% 0.138 131.5)
XYZxyz(14.5587, 21.5961, 5.5914)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D2A #592A8D
analogous
#8D8A2A #5E8D2A #2C8D2A
triadic
#5E8D2A #2A5E8D #8D2A5E
tetradic
#5E8D2A #2A8D8A #592A8D #8D2A2C
square
#5E8D2A #2A8D8A #592A8D #8D2A2C
split-complementary
#5E8D2A #2A2C8D #8A2A8D
monochromatic
#1F2F0E #3F5E1C #5E8D2A #7DBC38 #9BD061

Accessibility & contrast

On white

3.95
#5E8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5E8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8D2A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8D2A#FFFFFF#000000##000000
##5E8D2A1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#608779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d2a;
/* rgb */ color: rgb(94, 141, 42);
/* oklch */ color: oklch(58.9% 0.138 131.5);
Tailwind
colors: {
  custom: {
    50: '#8fae69',
    500: '#5e8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d2a;
$custom-light: #8fae69;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d2a",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 88.485,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.13822,
    "h": 131.5
  },
  "luminance": 0.21597
}

Semantic roles & 50–950 ramp

primary
#5E8D2A
secondary
#875DB6
accent
#4ADD90
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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