#5E8A21#5E8A21

#5E8A21 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.140 H 130.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5E8A21
RGBrgb(94, 138, 33)
HSLhsl(85, 61%, 34%)
HSVhsv(85, 76%, 54%)
CMYKcmyk(31.9%, 0%, 76.1%, 45.9%)
CIE-LABlab(52.58, -31.69, 48.13)
CIE-LCHlch(52.58, 57.63, 123.36°)
OKLaboklab(58.05% -0.0901 0.1074)
OKLCHoklch(58.05% 0.14 130)
XYZxyz(13.9790, 20.6660, 4.6910)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A21 #4D218A
analogous
#8A8121 #5E8A21 #298A21
triadic
#5E8A21 #215E8A #8A215E
tetradic
#5E8A21 #218A81 #4D218A #8A2129
square
#5E8A21 #218A81 #4D218A #8A2129
split-complementary
#5E8A21 #21298A #81218A
monochromatic
#1B2709 #3C5915 #5E8A21 #80BB2D #9DD550

Accessibility & contrast

On white

4.09
#5E8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5E8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A21
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A21#FFFFFF#000000##000000
##5E8A211.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800B
Deuteranopia (green-blind)
#8B7C2B
Tritanopia (blue-blind)
#618476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8a21;
/* rgb */ color: rgb(94, 138, 33);
/* oklch */ color: oklch(58.1% 0.140 130.0);
Tailwind
colors: {
  custom: {
    50: '#90ac64',
    500: '#5e8a21',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a21;
$custom-light: #90ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a21",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 85.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58054,
    "c": 0.14022,
    "h": 130
  },
  "luminance": 0.20666
}

Semantic roles & 50–950 ramp

primary
#5E8A21
secondary
#7B4EB9
accent
#43E587
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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