#5E8A2D#5E8A2D

#5E8A2D is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.2% C 0.132 H 131.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5E8A2D
RGBrgb(94, 138, 45)
HSLhsl(88, 51%, 36%)
HSVhsv(88, 67%, 54%)
CMYKcmyk(31.9%, 0%, 67.4%, 45.9%)
CIE-LABlab(52.67, -30.82, 43.41)
CIE-LCHlch(52.67, 53.23, 125.37°)
OKLaboklab(58.15% -0.0868 0.0993)
OKLCHoklch(58.15% 0.132 131.2)
XYZxyz(14.1781, 20.7456, 5.7394)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A2D #592D8A
analogous
#8A872D #5E8A2D #2F8A2D
triadic
#5E8A2D #2D5E8A #8A2D5E
tetradic
#5E8A2D #2D8A87 #592D8A #8A2D2F
square
#5E8A2D #2D8A87 #592D8A #8A2D2F
split-complementary
#5E8A2D #2D2F8A #872D8A
monochromatic
#1F2E0F #3F5C1E #5E8A2D #7DB83C #9BCD65

Accessibility & contrast

On white

4.08
#5E8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5E8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A2D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A2D#FFFFFF#000000##000000
##5E8A2D1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908021
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#608477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a2d;
/* rgb */ color: rgb(94, 138, 45);
/* oklch */ color: oklch(58.2% 0.132 131.2);
Tailwind
colors: {
  custom: {
    50: '#8fac6b',
    500: '#5e8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a2d;
$custom-light: #8fac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a2d",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 88.387,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.13186,
    "h": 131.2
  },
  "luminance": 0.20746
}

Semantic roles & 50–950 ramp

primary
#5E8A2D
secondary
#8760B3
accent
#4DDA90
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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