#5E882C#5E882C

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

Color values

HEX#5E882C
RGBrgb(94, 136, 44)
HSLhsl(87, 51%, 35%)
HSVhsv(87, 68%, 53%)
CMYKcmyk(30.9%, 0%, 67.6%, 46.7%)
CIE-LABlab(52.03, -29.96, 43.16)
CIE-LCHlch(52.03, 52.54, 124.76°)
OKLaboklab(57.63% -0.0845 0.0986)
OKLCHoklch(57.63% 0.13 130.6)
XYZxyz(13.8748, 20.1694, 5.5444)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E882C #562C88
analogous
#88842C #5E882C #30882C
triadic
#5E882C #2C5E88 #882C5E
tetradic
#5E882C #2C8884 #562C88 #882C30
square
#5E882C #2C8884 #562C88 #882C30
split-complementary
#5E882C #2C3088 #842C88
monochromatic
#1E2C0E #3E5A1D #5E882C #7EB63B #9CCC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E882C#FFFFFF#000000##000000
##5E882C1.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)
#8E7E20
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#608275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e882c;
/* rgb */ color: rgb(94, 136, 44);
/* oklch */ color: oklch(57.6% 0.130 130.6);
Tailwind
colors: {
  custom: {
    50: '#8fab6a',
    500: '#5e882c',
    950: '#000000',
  },
}
SCSS
$custom: #5e882c;
$custom-light: #8fab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e882c",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 87.391,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.12988,
    "h": 130.6
  },
  "luminance": 0.2017
}

Semantic roles & 50–950 ramp

primary
#5E882C
secondary
#845DB3
accent
#4DDB8E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E882C

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

Preview Lab → · Contrast checker → · Palette generator →

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