#507F1E#507F1E

#507F1E is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.135 H 132.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#507F1E
RGBrgb(80, 127, 30)
HSLhsl(89, 62%, 31%)
HSVhsv(89, 76%, 50%)
CMYKcmyk(37%, 0%, 76.4%, 50.2%)
CIE-LABlab(48.23, -32.23, 44.71)
CIE-LCHlch(48.23, 55.12, 125.78°)
OKLaboklab(54.29% -0.0909 0.1001)
OKLCHoklch(54.29% 0.135 132.3)
XYZxyz(11.1318, 16.9775, 3.9185)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507F1E #4D1E7F
analogous
#7F7D1E #507F1E #207F1E
triadic
#507F1E #1E507F #7F1E50
tetradic
#507F1E #1E7F7D #4D1E7F #7F1E20
square
#507F1E #1E7F7D #4D1E7F #7F1E20
split-complementary
#507F1E #1E207F #7D1E7F
monochromatic
#121C07 #314D12 #507F1E #6FB12A #8ED344

Accessibility & contrast

On white

4.78
#507F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#507F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507F1E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507F1E#FFFFFF#000000##FFFFFF
##507F1E1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#517A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507f1e;
/* rgb */ color: rgb(80, 127, 30);
/* oklch */ color: oklch(54.3% 0.135 132.3);
Tailwind
colors: {
  custom: {
    50: '#85a461',
    500: '#507f1e',
    950: '#000000',
  },
}
SCSS
$custom: #507f1e;
$custom-light: #85a461;
$custom-dark: #000000;
JSON
{
  "hex": "#507f1e",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 89.072,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54289,
    "c": 0.1352,
    "h": 132.3
  },
  "luminance": 0.16978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #507F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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