#5A8A2E#5A8A2E

#5A8A2E is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.9% C 0.133 H 132.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5A8A2E
RGBrgb(90, 138, 46)
HSLhsl(91, 50%, 36%)
HSVhsv(91, 67%, 54%)
CMYKcmyk(34.8%, 0%, 66.7%, 45.9%)
CIE-LABlab(52.45, -32.26, 42.67)
CIE-LCHlch(52.45, 53.49, 127.10°)
OKLaboklab(57.92% -0.0904 0.0979)
OKLCHoklch(57.92% 0.133 132.7)
XYZxyz(13.7979, 20.5473, 5.8233)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8A2E #5E2E8A
analogous
#888A2E #5A8A2E #2E8A30
triadic
#5A8A2E #2E5A8A #8A2E5A
tetradic
#5A8A2E #2E888A #5E2E8A #8A302E
square
#5A8A2E #2E888A #5E2E8A #8A302E
split-complementary
#5A8A2E #302E8A #8A2E88
monochromatic
#1E2E0F #3C5C1F #5A8A2E #78B83D #97CC66

Accessibility & contrast

On white

4.11
#5A8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5A8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8A2E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8A2E#FFFFFF#000000##000000
##5A8A2E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#5B8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a8a2e;
/* rgb */ color: rgb(90, 138, 46);
/* oklch */ color: oklch(57.9% 0.133 132.7);
Tailwind
colors: {
  custom: {
    50: '#8cac6b',
    500: '#5a8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #5a8a2e;
$custom-light: #8cac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8a2e",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 91.304,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.13325,
    "h": 132.7
  },
  "luminance": 0.20548
}

Semantic roles & 50–950 ramp

primary
#5A8A2E
secondary
#8C61B3
accent
#4EDA97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5A8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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