#5A891E#5A891E

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

Color values

HEX#5A891E
RGBrgb(90, 137, 30)
HSLhsl(86, 64%, 33%)
HSVhsv(86, 78%, 54%)
CMYKcmyk(34.3%, 0%, 78.1%, 46.3%)
CIE-LABlab(52.02, -32.96, 48.57)
CIE-LCHlch(52.02, 58.70, 124.16°)
OKLaboklab(57.53% -0.0936 0.1079)
OKLCHoklch(57.53% 0.143 130.9)
XYZxyz(13.3964, 20.1582, 4.4131)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A891E #4D1E89
analogous
#89821E #5A891E #25891E
triadic
#5A891E #1E5A89 #891E5A
tetradic
#5A891E #1E8982 #4D1E89 #891E25
square
#5A891E #1E8982 #4D1E89 #891E25
split-complementary
#5A891E #1E2589 #821E89
monochromatic
#182508 #395713 #5A891E #7BBB29 #99D74A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A891E#FFFFFF#000000##000000
##5A891E1.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)
#8F7E04
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#5C8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a891e;
/* rgb */ color: rgb(90, 137, 30);
/* oklch */ color: oklch(57.5% 0.143 130.9);
Tailwind
colors: {
  custom: {
    50: '#8dab63',
    500: '#5a891e',
    950: '#000000',
  },
}
SCSS
$custom: #5a891e;
$custom-light: #8dab63;
$custom-dark: #000000;
JSON
{
  "hex": "#5a891e",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 86.355,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57525,
    "c": 0.14284,
    "h": 130.9
  },
  "luminance": 0.20159
}

Semantic roles & 50–950 ramp

primary
#5A891E
secondary
#7B49BA
accent
#41E78A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5A891E

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

Preview Lab → · Contrast checker → · Palette generator →

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