#5E8A38#5E8A38

#5E8A38 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.3% C 0.122 H 132.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5E8A38
RGBrgb(94, 138, 56)
HSLhsl(92, 42%, 38%)
HSVhsv(92, 59%, 54%)
CMYKcmyk(31.9%, 0%, 59.4%, 45.9%)
CIE-LABlab(52.78, -29.79, 38.44)
CIE-LCHlch(52.78, 48.63, 127.77°)
OKLaboklab(58.27% -0.083 0.0901)
OKLCHoklch(58.27% 0.122 132.7)
XYZxyz(14.4182, 20.8417, 7.0038)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A38 #64388A
analogous
#878A38 #5E8A38 #388A3B
triadic
#5E8A38 #385E8A #8A385E
tetradic
#5E8A38 #38878A #64388A #8A3B38
square
#5E8A38 #38878A #64388A #8A3B38
split-complementary
#5E8A38 #3B388A #8A3887
monochromatic
#233315 #405E26 #5E8A38 #7CB54A #9BC775

Accessibility & contrast

On white

4.06
#5E8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5E8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A38
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A38#FFFFFF#000000##000000
##5E8A381.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#897D3E
Tritanopia (blue-blind)
#5F8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a38;
/* rgb */ color: rgb(94, 138, 56);
/* oklch */ color: oklch(58.3% 0.122 132.7);
Tailwind
colors: {
  custom: {
    50: '#8eac72',
    500: '#5e8a38',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a38;
$custom-light: #8eac72;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a38",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 92.195,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.12247,
    "h": 132.7
  },
  "luminance": 0.20842
}

Semantic roles & 50–950 ramp

primary
#5E8A38
secondary
#916EB0
accent
#56D298
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0D1008
muted
#7D7F7B

Preview Lab

Preview with #5E8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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