#508E2E#508E2E

#508E2E is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.144 H 136.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#508E2E
RGBrgb(80, 142, 46)
HSLhsl(99, 51%, 37%)
HSVhsv(99, 68%, 56%)
CMYKcmyk(43.7%, 0%, 67.6%, 44.3%)
CIE-LABlab(53.22, -37.65, 43.34)
CIE-LCHlch(53.22, 57.41, 130.98°)
OKLaboklab(58.41% -0.1044 0.0995)
OKLCHoklch(58.41% 0.144 136.4)
XYZxyz(13.4740, 21.2480, 5.9755)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E2E #6C2E8E
analogous
#808E2E #508E2E #2E8E3C
triadic
#508E2E #2E508E #8E2E50
tetradic
#508E2E #2E808E #6C2E8E #8E3C2E
square
#508E2E #2E808E #6C2E8E #8E3C2E
split-complementary
#508E2E #3C2E8E #8E2E80
monochromatic
#1C3210 #36601F #508E2E #6ABC3D #8CCE68

Accessibility & contrast

On white

4.00
#508E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#508E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E2E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E2E#FFFFFF#000000##000000
##508E2E1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938221
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#4D897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e2e;
/* rgb */ color: rgb(80, 142, 46);
/* oklch */ color: oklch(58.4% 0.144 136.4);
Tailwind
colors: {
  custom: {
    50: '#86af6c',
    500: '#508e2e',
    950: '#000000',
  },
}
SCSS
$custom: #508e2e;
$custom-light: #86af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#508e2e",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 98.75,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58407,
    "c": 0.14421,
    "h": 136.4
  },
  "luminance": 0.21249
}

Semantic roles & 50–950 ramp

primary
#508E2E
secondary
#9863B5
accent
#4DDBA9
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #508E2E

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

Preview Lab → · Contrast checker → · Palette generator →

#508E2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva