#5A891A#5A891A

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

Color values

HEX#5A891A
RGBrgb(90, 137, 26)
HSLhsl(85, 68%, 32%)
HSVhsv(85, 81%, 54%)
CMYKcmyk(34.3%, 0%, 81%, 46.3%)
CIE-LABlab(51.99, -33.18, 49.87)
CIE-LCHlch(51.99, 59.90, 123.64°)
OKLaboklab(57.5% -0.0945 0.11)
OKLCHoklch(57.5% 0.145 130.7)
XYZxyz(13.3485, 20.1391, 4.1610)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A891A #491A89
analogous
#89811A #5A891A #23891A
triadic
#5A891A #1A5A89 #891A5A
tetradic
#5A891A #1A8981 #491A89 #891A23
square
#5A891A #1A8981 #491A89 #891A23
split-complementary
#5A891A #1A2389 #811A89
monochromatic
#162206 #385610 #5A891A #7CBC24 #9ADB42

Accessibility & contrast

On white

4.18
#5A891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A891A#FFFFFF#000000##000000
##5A891A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#5C8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a891a;
/* rgb */ color: rgb(90, 137, 26);
/* oklch */ color: oklch(57.5% 0.145 130.7);
Tailwind
colors: {
  custom: {
    50: '#8dab61',
    500: '#5a891a',
    950: '#000000',
  },
}
SCSS
$custom: #5a891a;
$custom-light: #8dab61;
$custom-dark: #000000;
JSON
{
  "hex": "#5a891a",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 85.405,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.14498,
    "h": 130.7
  },
  "luminance": 0.2014
}

Semantic roles & 50–950 ramp

primary
#5A891A
secondary
#7643BC
accent
#3DEB87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5A891A

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

Preview Lab → · Contrast checker → · Palette generator →

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