#5E882F#5E882F

#5E882F is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.7% C 0.127 H 130.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5E882F
RGBrgb(94, 136, 47)
HSLhsl(88, 49%, 36%)
HSVhsv(88, 65%, 53%)
CMYKcmyk(30.9%, 0%, 65.4%, 46.7%)
CIE-LABlab(52.05, -29.70, 41.86)
CIE-LCHlch(52.05, 51.32, 125.36°)
OKLaboklab(57.66% -0.0835 0.0963)
OKLCHoklch(57.66% 0.127 130.9)
XYZxyz(13.9332, 20.1928, 5.8523)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E882F #592F88
analogous
#88852F #5E882F #31882F
triadic
#5E882F #2F5E88 #882F5E
tetradic
#5E882F #2F8885 #592F88 #882F31
square
#5E882F #2F8885 #592F88 #882F31
split-complementary
#5E882F #2F3188 #852F88
monochromatic
#1F2D10 #3F5B1F #5E882F #7DB53F #9BCA67

Accessibility & contrast

On white

4.17
#5E882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5E882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E882F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E882F#FFFFFF#000000##000000
##5E882F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#608275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e882f;
/* rgb */ color: rgb(94, 136, 47);
/* oklch */ color: oklch(57.7% 0.127 130.9);
Tailwind
colors: {
  custom: {
    50: '#8fab6c',
    500: '#5e882f',
    950: '#000000',
  },
}
SCSS
$custom: #5e882f;
$custom-light: #8fab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e882f",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 88.315,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57658,
    "c": 0.12748,
    "h": 130.9
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#5E882F
secondary
#8761B1
accent
#50D890
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E882F

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

Preview Lab → · Contrast checker → · Palette generator →

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