#5E8A24#5E8A24

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

Color values

HEX#5E8A24
RGBrgb(94, 138, 36)
HSLhsl(86, 59%, 34%)
HSVhsv(86, 74%, 54%)
CMYKcmyk(31.9%, 0%, 73.9%, 45.9%)
CIE-LABlab(52.60, -31.49, 47.03)
CIE-LCHlch(52.60, 56.60, 123.81°)
OKLaboklab(58.08% -0.0894 0.1056)
OKLCHoklch(58.08% 0.138 130.3)
XYZxyz(14.0229, 20.6836, 4.9222)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A24 #50248A
analogous
#8A8324 #5E8A24 #2B8A24
triadic
#5E8A24 #245E8A #8A245E
tetradic
#5E8A24 #248A83 #50248A #8A242B
square
#5E8A24 #248A83 #50248A #8A242B
split-complementary
#5E8A24 #242B8A #83248A
monochromatic
#1C290B #3D5917 #5E8A24 #7FBB31 #9DD356

Accessibility & contrast

On white

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

On black

5.14
#5E8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A24
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A24#FFFFFF#000000##000000
##5E8A241.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908012
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#608476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8a24;
/* rgb */ color: rgb(94, 138, 36);
/* oklch */ color: oklch(58.1% 0.138 130.3);
Tailwind
colors: {
  custom: {
    50: '#8fac66',
    500: '#5e8a24',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a24;
$custom-light: #8fac66;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a24",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 85.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.13833,
    "h": 130.3
  },
  "luminance": 0.20684
}

Semantic roles & 50–950 ramp

primary
#5E8A24
secondary
#7E53B7
accent
#46E289
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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