#508F2E#508F2E

#508F2E is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.146 H 136.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#508F2E
RGBrgb(80, 143, 46)
HSLhsl(99, 51%, 37%)
HSVhsv(99, 68%, 56%)
CMYKcmyk(44.1%, 0%, 67.8%, 43.9%)
CIE-LABlab(53.54, -38.08, 43.69)
CIE-LCHlch(53.54, 57.96, 131.08°)
OKLaboklab(58.67% -0.1056 0.1002)
OKLCHoklch(58.67% 0.146 136.5)
XYZxyz(13.6235, 21.5469, 6.0253)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F2E #6D2E8F
analogous
#818F2E #508F2E #2E8F3D
triadic
#508F2E #2E508F #8F2E50
tetradic
#508F2E #2E818F #6D2E8F #8F3D2E
square
#508F2E #2E818F #6D2E8F #8F3D2E
split-complementary
#508F2E #3D2E8F #8F2E81
monochromatic
#1C3210 #36611F #508F2E #6ABD3D #8CCF69

Accessibility & contrast

On white

3.96
#508F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#508F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F2E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F2E#FFFFFF#000000##000000
##508F2E1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#4D8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f2e;
/* rgb */ color: rgb(80, 143, 46);
/* oklch */ color: oklch(58.7% 0.146 136.5);
Tailwind
colors: {
  custom: {
    50: '#86b06c',
    500: '#508f2e',
    950: '#000000',
  },
}
SCSS
$custom: #508f2e;
$custom-light: #86b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#508f2e",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 98.969,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58671,
    "c": 0.14557,
    "h": 136.5
  },
  "luminance": 0.21548
}

Semantic roles & 50–950 ramp

primary
#508F2E
secondary
#9963B6
accent
#4DDBA9
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #508F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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