#5E882B#5E882B

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

Color values

HEX#5E882B
RGBrgb(94, 136, 43)
HSLhsl(87, 52%, 35%)
HSVhsv(87, 68%, 53%)
CMYKcmyk(30.9%, 0%, 68.4%, 46.7%)
CIE-LABlab(52.02, -30.04, 43.58)
CIE-LCHlch(52.02, 52.93, 124.57°)
OKLaboklab(57.62% -0.0848 0.0994)
OKLCHoklch(57.62% 0.131 130.5)
XYZxyz(13.8562, 20.1620, 5.4466)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E882B #552B88
analogous
#88832B #5E882B #2F882B
triadic
#5E882B #2B5E88 #882B5E
tetradic
#5E882B #2B8883 #552B88 #882B2F
square
#5E882B #2B8883 #552B88 #882B2F
split-complementary
#5E882B #2B2F88 #832B88
monochromatic
#1E2B0E #3E5A1C #5E882B #7EB63A #9CCD61

Accessibility & contrast

On white

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

On black

5.03
#5E882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E882B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E882B#FFFFFF#000000##000000
##5E882B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e882b;
/* rgb */ color: rgb(94, 136, 43);
/* oklch */ color: oklch(57.6% 0.131 130.5);
Tailwind
colors: {
  custom: {
    50: '#8fab69',
    500: '#5e882b',
    950: '#000000',
  },
}
SCSS
$custom: #5e882b;
$custom-light: #8fab69;
$custom-dark: #000000;
JSON
{
  "hex": "#5e882b",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 87.097,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.13065,
    "h": 130.5
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#5E882B
secondary
#835CB3
accent
#4CDB8D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E882B

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

Preview Lab → · Contrast checker → · Palette generator →

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