#5A861E#5A861E

#5A861E is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.7% C 0.139 H 130.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5A861E
RGBrgb(90, 134, 30)
HSLhsl(85, 63%, 32%)
HSVhsv(85, 78%, 53%)
CMYKcmyk(32.8%, 0%, 77.6%, 47.5%)
CIE-LABlab(51.06, -31.58, 47.65)
CIE-LCHlch(51.06, 57.16, 123.54°)
OKLaboklab(56.74% -0.0898 0.106)
OKLCHoklch(56.74% 0.139 130.3)
XYZxyz(12.9758, 19.3172, 4.2730)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A861E #4A1E86
analogous
#867E1E #5A861E #26861E
triadic
#5A861E #1E5A86 #861E5A
tetradic
#5A861E #1E867E #4A1E86 #861E26
square
#5A861E #1E867E #4A1E86 #861E26
split-complementary
#5A861E #1E2686 #7E1E86
monochromatic
#172208 #385413 #5A861E #7CB829 #9AD648

Accessibility & contrast

On white

4.32
#5A861E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5A861E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A861E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A861E#FFFFFF#000000##000000
##5A861E1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C06
Deuteranopia (green-blind)
#867928
Tritanopia (blue-blind)
#5C8072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a861e;
/* rgb */ color: rgb(90, 134, 30);
/* oklch */ color: oklch(56.7% 0.139 130.3);
Tailwind
colors: {
  custom: {
    50: '#8da962',
    500: '#5a861e',
    950: '#000000',
  },
}
SCSS
$custom: #5a861e;
$custom-light: #8da962;
$custom-dark: #000000;
JSON
{
  "hex": "#5a861e",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 85.385,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.13894,
    "h": 130.3
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#5A861E
secondary
#7747B8
accent
#41E687
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5A861E

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

Preview Lab → · Contrast checker → · Palette generator →

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