#5E882D#5E882D

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

Color values

HEX#5E882D
RGBrgb(94, 136, 45)
HSLhsl(88, 50%, 35%)
HSVhsv(88, 67%, 53%)
CMYKcmyk(30.9%, 0%, 66.9%, 46.7%)
CIE-LABlab(52.04, -29.87, 42.73)
CIE-LCHlch(52.04, 52.14, 124.96°)
OKLaboklab(57.64% -0.0842 0.0979)
OKLCHoklch(57.64% 0.129 130.7)
XYZxyz(13.8938, 20.1770, 5.6446)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E882D #572D88
analogous
#88842D #5E882D #31882D
triadic
#5E882D #2D5E88 #882D5E
tetradic
#5E882D #2D8884 #572D88 #882D31
square
#5E882D #2D8884 #572D88 #882D31
split-complementary
#5E882D #2D3188 #842D88
monochromatic
#1E2C0F #3E5A1E #5E882D #7EB63C #9CCC64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E882D#FFFFFF#000000##000000
##5E882D1.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)
#8E7E21
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#608275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e882d;
/* rgb */ color: rgb(94, 136, 45);
/* oklch */ color: oklch(57.6% 0.129 130.7);
Tailwind
colors: {
  custom: {
    50: '#8fab6b',
    500: '#5e882d',
    950: '#000000',
  },
}
SCSS
$custom: #5e882d;
$custom-light: #8fab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e882d",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 87.692,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57638,
    "c": 0.12909,
    "h": 130.7
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#5E882D
secondary
#855FB2
accent
#4EDA8F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E882D

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

Preview Lab → · Contrast checker → · Palette generator →

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