#508A2E#508A2E

#508A2E is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.139 H 135.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#508A2E
RGBrgb(80, 138, 46)
HSLhsl(98, 50%, 36%)
HSVhsv(98, 67%, 54%)
CMYKcmyk(42%, 0%, 66.7%, 45.9%)
CIE-LABlab(51.93, -35.90, 41.95)
CIE-LCHlch(51.93, 55.21, 130.56°)
OKLaboklab(57.35% -0.0996 0.0965)
OKLCHoklch(57.35% 0.139 135.9)
XYZxyz(12.8896, 20.0790, 5.7807)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A2E #682E8A
analogous
#7E8A2E #508A2E #2E8A3A
triadic
#508A2E #2E508A #8A2E50
tetradic
#508A2E #2E7E8A #682E8A #8A3A2E
square
#508A2E #2E7E8A #682E8A #8A3A2E
split-complementary
#508A2E #3A2E8A #8A2E7E
monochromatic
#1B2E0F #355C1F #508A2E #6BB83D #8CCC66

Accessibility & contrast

On white

4.19
#508A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#508A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A2E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A2E#FFFFFF#000000##000000
##508A2E1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#4E8577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a2e;
/* rgb */ color: rgb(80, 138, 46);
/* oklch */ color: oklch(57.3% 0.139 135.9);
Tailwind
colors: {
  custom: {
    50: '#86ac6b',
    500: '#508a2e',
    950: '#000000',
  },
}
SCSS
$custom: #508a2e;
$custom-light: #86ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#508a2e",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 97.826,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57348,
    "c": 0.13874,
    "h": 135.9
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

primary
#508A2E
secondary
#9561B3
accent
#4EDAA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #508A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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