#5A8E2E#5A8E2E

#5A8E2E is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.139 H 133.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5A8E2E
RGBrgb(90, 142, 46)
HSLhsl(93, 51%, 37%)
HSVhsv(93, 68%, 56%)
CMYKcmyk(36.6%, 0%, 67.6%, 44.3%)
CIE-LABlab(53.72, -34.10, 44.03)
CIE-LCHlch(53.72, 55.69, 127.75°)
OKLaboklab(58.96% -0.0954 0.1008)
OKLCHoklch(58.96% 0.139 133.4)
XYZxyz(14.3824, 21.7163, 6.0181)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8E2E #622E8E
analogous
#8A8E2E #5A8E2E #2E8E32
triadic
#5A8E2E #2E5A8E #8E2E5A
tetradic
#5A8E2E #2E8A8E #622E8E #8E322E
square
#5A8E2E #2E8A8E #622E8E #8E322E
split-complementary
#5A8E2E #322E8E #8E2E8A
monochromatic
#1F3210 #3D601F #5A8E2E #77BC3D #97CE68

Accessibility & contrast

On white

3.93
#5A8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5A8E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8E2E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8E2E#FFFFFF#000000##000000
##5A8E2E1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#8C7F36
Tritanopia (blue-blind)
#5A887A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a8e2e;
/* rgb */ color: rgb(90, 142, 46);
/* oklch */ color: oklch(59.0% 0.139 133.4);
Tailwind
colors: {
  custom: {
    50: '#8daf6c',
    500: '#5a8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #5a8e2e;
$custom-light: #8daf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8e2e",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 92.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.13878,
    "h": 133.4
  },
  "luminance": 0.21717
}

Semantic roles & 50–950 ramp

primary
#5A8E2E
secondary
#8F63B5
accent
#4DDB9A
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5A8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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