#5E8A28#5E8A28

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

Color values

HEX#5E8A28
RGBrgb(94, 138, 40)
HSLhsl(87, 55%, 35%)
HSVhsv(87, 71%, 54%)
CMYKcmyk(31.9%, 0%, 71%, 45.9%)
CIE-LABlab(52.63, -31.21, 45.48)
CIE-LCHlch(52.63, 55.16, 124.46°)
OKLaboklab(58.11% -0.0883 0.1029)
OKLCHoklch(58.11% 0.136 130.6)
XYZxyz(14.0875, 20.7094, 5.2621)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A28 #54288A
analogous
#8A8528 #5E8A28 #2D8A28
triadic
#5E8A28 #285E8A #8A285E
tetradic
#5E8A28 #288A85 #54288A #8A282D
square
#5E8A28 #288A85 #54288A #8A282D
split-complementary
#5E8A28 #282D8A #85288A
monochromatic
#1D2B0C #3E5B1A #5E8A28 #7EB936 #9CD05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8A28#FFFFFF#000000##000000
##5E8A281.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908019
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#608476
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a28;
/* rgb */ color: rgb(94, 138, 40);
/* oklch */ color: oklch(58.1% 0.136 130.6);
Tailwind
colors: {
  custom: {
    50: '#8fac68',
    500: '#5e8a28',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a28;
$custom-light: #8fac68;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a28",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 86.939,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58108,
    "c": 0.1356,
    "h": 130.6
  },
  "luminance": 0.2071
}

Semantic roles & 50–950 ramp

primary
#5E8A28
secondary
#8259B5
accent
#49DE8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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