#5A8A3A#5A8A3A

#5A8A3A is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.123 H 134.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5A8A3A
RGBrgb(90, 138, 58)
HSLhsl(96, 41%, 38%)
HSVhsv(96, 58%, 54%)
CMYKcmyk(34.8%, 0%, 58%, 45.9%)
CIE-LABlab(52.57, -31.07, 37.17)
CIE-LCHlch(52.57, 48.45, 129.90°)
OKLaboklab(58.05% -0.0861 0.0876)
OKLCHoklch(58.05% 0.123 134.5)
XYZxyz(14.0684, 20.6555, 7.2478)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8A3A #6A3A8A
analogous
#828A3A #5A8A3A #3A8A42
triadic
#5A8A3A #3A5A8A #8A3A5A
tetradic
#5A8A3A #3A828A #6A3A8A #8A423A
square
#5A8A3A #3A828A #6A3A8A #8A423A
split-complementary
#5A8A3A #423A8A #8A3A82
monochromatic
#223416 #3E5F28 #5A8A3A #76B44D #97C678

Accessibility & contrast

On white

4.09
#5A8A3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5A8A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8A3A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8A3A#FFFFFF#000000##000000
##5A8A3A1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8032
Deuteranopia (green-blind)
#887C40
Tritanopia (blue-blind)
#5A8578
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a8a3a;
/* rgb */ color: rgb(90, 138, 58);
/* oklch */ color: oklch(58.1% 0.123 134.5);
Tailwind
colors: {
  custom: {
    50: '#8cac73',
    500: '#5a8a3a',
    950: '#000000',
  },
}
SCSS
$custom: #5a8a3a;
$custom-light: #8cac73;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8a3a",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 96,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.12282,
    "h": 134.5
  },
  "luminance": 0.20656
}

Semantic roles & 50–950 ramp

primary
#5A8A3A
secondary
#9670B0
accent
#57D1A0
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5A8A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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