#508B2E#508B2E

#508B2E is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.140 H 136.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#508B2E
RGBrgb(80, 139, 46)
HSLhsl(98, 50%, 36%)
HSVhsv(98, 67%, 55%)
CMYKcmyk(42.4%, 0%, 66.9%, 45.5%)
CIE-LABlab(52.25, -36.34, 42.30)
CIE-LCHlch(52.25, 55.77, 130.67°)
OKLaboklab(57.61% -0.1008 0.0973)
OKLCHoklch(57.61% 0.14 136)
XYZxyz(13.0337, 20.3673, 5.8287)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B2E #692E8B
analogous
#7F8B2E #508B2E #2E8B3B
triadic
#508B2E #2E508B #8B2E50
tetradic
#508B2E #2E7F8B #692E8B #8B3B2E
square
#508B2E #2E7F8B #692E8B #8B3B2E
split-complementary
#508B2E #3B2E8B #8B2E7F
monochromatic
#1B2F10 #365D1F #508B2E #6AB93D #8CCD67

Accessibility & contrast

On white

4.14
#508B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#508B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B2E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B2E#FFFFFF#000000##000000
##508B2E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#4E8678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508b2e;
/* rgb */ color: rgb(80, 139, 46);
/* oklch */ color: oklch(57.6% 0.140 136.0);
Tailwind
colors: {
  custom: {
    50: '#86ad6b',
    500: '#508b2e',
    950: '#000000',
  },
}
SCSS
$custom: #508b2e;
$custom-light: #86ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#508b2e",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 98.065,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57613,
    "c": 0.14012,
    "h": 136
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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