#5A891D#5A891D

#5A891D 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#5A891D
RGBrgb(90, 137, 29)
HSLhsl(86, 65%, 33%)
HSVhsv(86, 79%, 54%)
CMYKcmyk(34.3%, 0%, 78.8%, 46.3%)
CIE-LABlab(52.01, -33.02, 48.90)
CIE-LCHlch(52.01, 59.01, 124.03°)
OKLaboklab(57.52% -0.0938 0.1085)
OKLCHoklch(57.52% 0.143 130.9)
XYZxyz(13.3838, 20.1532, 4.3469)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A891D #4C1D89
analogous
#89821D #5A891D #24891D
triadic
#5A891D #1D5A89 #891D5A
tetradic
#5A891D #1D8982 #4C1D89 #891D24
square
#5A891D #1D8982 #4C1D89 #891D24
split-complementary
#5A891D #1D2489 #821D89
monochromatic
#182408 #395612 #5A891D #7BBC28 #9AD848

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A891D#FFFFFF#000000##000000
##5A891D1.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)
#8F7E02
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#5C8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a891d;
/* rgb */ color: rgb(90, 137, 29);
/* oklch */ color: oklch(57.5% 0.143 130.9);
Tailwind
colors: {
  custom: {
    50: '#8dab62',
    500: '#5a891d',
    950: '#000000',
  },
}
SCSS
$custom: #5a891d;
$custom-light: #8dab62;
$custom-dark: #000000;
JSON
{
  "hex": "#5a891d",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 86.111,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57519,
    "c": 0.1434,
    "h": 130.9
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#5A891D
secondary
#7947BA
accent
#40E889
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5A891D

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

Preview Lab → · Contrast checker → · Palette generator →

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