#5A881E#5A881E

#5A881E is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.3% C 0.142 H 130.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5A881E
RGBrgb(90, 136, 30)
HSLhsl(86, 64%, 33%)
HSVhsv(86, 78%, 53%)
CMYKcmyk(33.8%, 0%, 77.9%, 46.7%)
CIE-LABlab(51.70, -32.50, 48.26)
CIE-LCHlch(51.70, 58.19, 123.96°)
OKLaboklab(57.27% -0.0923 0.1073)
OKLCHoklch(57.27% 0.142 130.7)
XYZxyz(13.2549, 19.8753, 4.3660)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A881E #4C1E88
analogous
#88811E #5A881E #25881E
triadic
#5A881E #1E5A88 #881E5A
tetradic
#5A881E #1E8881 #4C1E88 #881E25
square
#5A881E #1E8881 #4C1E88 #881E25
split-complementary
#5A881E #1E2588 #811E88
monochromatic
#182408 #395613 #5A881E #7BBA29 #9AD749

Accessibility & contrast

On white

4.22
#5A881E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5A881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A881E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A881E#FFFFFF#000000##000000
##5A881E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D05
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#5C8274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a881e;
/* rgb */ color: rgb(90, 136, 30);
/* oklch */ color: oklch(57.3% 0.142 130.7);
Tailwind
colors: {
  custom: {
    50: '#8dab63',
    500: '#5a881e',
    950: '#000000',
  },
}
SCSS
$custom: #5a881e;
$custom-light: #8dab63;
$custom-dark: #000000;
JSON
{
  "hex": "#5a881e",
  "rgb": {
    "r": 90,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 86.038,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.14154,
    "h": 130.7
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#5A881E
secondary
#7949B9
accent
#41E789
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5A881E

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

Preview Lab → · Contrast checker → · Palette generator →

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