#507E1E#507E1E

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

Color values

HEX#507E1E
RGBrgb(80, 126, 30)
HSLhsl(89, 62%, 31%)
HSVhsv(89, 76%, 49%)
CMYKcmyk(36.5%, 0%, 76.2%, 50.6%)
CIE-LABlab(47.91, -31.77, 44.39)
CIE-LCHlch(47.91, 54.59, 125.59°)
OKLaboklab(54.02% -0.0897 0.0994)
OKLCHoklch(54.02% 0.134 132.1)
XYZxyz(11.0033, 16.7205, 3.8757)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E1E #4C1E7E
analogous
#7E7C1E #507E1E #207E1E
triadic
#507E1E #1E507E #7E1E50
tetradic
#507E1E #1E7E7C #4C1E7E #7E1E20
square
#507E1E #1E7E7C #4C1E7E #7E1E20
split-complementary
#507E1E #1E207E #7C1E7E
monochromatic
#111B06 #314D12 #507E1E #6FAF2A #8ED244

Accessibility & contrast

On white

4.83
#507E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507E1E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E1E#FFFFFF#000000##FFFFFF
##507E1E1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507e1e;
/* rgb */ color: rgb(80, 126, 30);
/* oklch */ color: oklch(54.0% 0.134 132.1);
Tailwind
colors: {
  custom: {
    50: '#85a361',
    500: '#507e1e',
    950: '#000000',
  },
}
SCSS
$custom: #507e1e;
$custom-light: #85a361;
$custom-dark: #000000;
JSON
{
  "hex": "#507e1e",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 88.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.13387,
    "h": 132.1
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#507E1E
secondary
#7A47B1
accent
#43E591
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #507E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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