#507E1D#507E1D

#507E1D is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.134 H 132.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#507E1D
RGBrgb(80, 126, 29)
HSLhsl(88, 63%, 30%)
HSVhsv(88, 77%, 49%)
CMYKcmyk(36.5%, 0%, 77%, 50.6%)
CIE-LABlab(47.90, -31.83, 44.76)
CIE-LCHlch(47.90, 54.92, 125.42°)
OKLaboklab(54.02% -0.0899 0.1)
OKLCHoklch(54.02% 0.134 132)
XYZxyz(10.9908, 16.7154, 3.8095)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E1D #4B1D7E
analogous
#7E7C1D #507E1D #1F7E1D
triadic
#507E1D #1D507E #7E1D50
tetradic
#507E1D #1D7E7C #4B1D7E #7E1D1F
square
#507E1D #1D7E7C #4B1D7E #7E1D1F
split-complementary
#507E1D #1D1F7E #7C1D7E
monochromatic
#111B06 #304C12 #507E1D #70B028 #8ED342

Accessibility & contrast

On white

4.84
#507E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#507E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E1D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E1D#FFFFFF#000000##FFFFFF
##507E1D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847408
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#51796B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e1d;
/* rgb */ color: rgb(80, 126, 29);
/* oklch */ color: oklch(54.0% 0.134 132.0);
Tailwind
colors: {
  custom: {
    50: '#85a361',
    500: '#507e1d',
    950: '#000000',
  },
}
SCSS
$custom: #507e1d;
$custom-light: #85a361;
$custom-dark: #000000;
JSON
{
  "hex": "#507e1d",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 88.454,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.13449,
    "h": 132
  },
  "luminance": 0.16716
}

Semantic roles & 50–950 ramp

primary
#507E1D
secondary
#7945B1
accent
#42E690
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507E1D

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

Preview Lab → · Contrast checker → · Palette generator →

#507E1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva