#5E882A#5E882A

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

Color values

HEX#5E882A
RGBrgb(94, 136, 42)
HSLhsl(87, 53%, 35%)
HSVhsv(87, 69%, 53%)
CMYKcmyk(30.9%, 0%, 69.1%, 46.7%)
CIE-LABlab(52.01, -30.12, 44.00)
CIE-LCHlch(52.01, 53.32, 124.39°)
OKLaboklab(57.61% -0.0851 0.1001)
OKLCHoklch(57.61% 0.131 130.4)
XYZxyz(13.8381, 20.1548, 5.3512)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E882A #542A88
analogous
#88832A #5E882A #2F882A
triadic
#5E882A #2A5E88 #882A5E
tetradic
#5E882A #2A8883 #542A88 #882A2F
square
#5E882A #2A8883 #542A88 #882A2F
split-complementary
#5E882A #2A2F88 #832A88
monochromatic
#1D2A0D #3E591C #5E882A #7EB738 #9CCE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E882A#FFFFFF#000000##000000
##5E882A1.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)
#8E7E1D
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#608275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e882a;
/* rgb */ color: rgb(94, 136, 42);
/* oklch */ color: oklch(57.6% 0.131 130.4);
Tailwind
colors: {
  custom: {
    50: '#8fab69',
    500: '#5e882a',
    950: '#000000',
  },
}
SCSS
$custom: #5e882a;
$custom-light: #8fab69;
$custom-dark: #000000;
JSON
{
  "hex": "#5e882a",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 86.809,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.13141,
    "h": 130.4
  },
  "luminance": 0.20155
}

Semantic roles & 50–950 ramp

primary
#5E882A
secondary
#825BB3
accent
#4CDC8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E882A

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

Preview Lab → · Contrast checker → · Palette generator →

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