#507A1D#507A1D

#507A1D is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 53.0% C 0.129 H 131.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#507A1D
RGBrgb(80, 122, 29)
HSLhsl(87, 62%, 30%)
HSVhsv(87, 76%, 48%)
CMYKcmyk(34.4%, 0%, 76.2%, 52.2%)
CIE-LABlab(46.60, -29.98, 43.48)
CIE-LCHlch(46.60, 52.81, 124.58°)
OKLaboklab(52.95% -0.0849 0.0973)
OKLCHoklch(52.95% 0.129 131.1)
XYZxyz(10.4895, 15.7129, 3.6424)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A1D #471D7A
analogous
#7A761D #507A1D #227A1D
triadic
#507A1D #1D507A #7A1D50
tetradic
#507A1D #1D7A76 #471D7A #7A1D22
square
#507A1D #1D7A76 #471D7A #7A1D22
split-complementary
#507A1D #1D227A #761D7A
monochromatic
#101906 #304911 #507A1D #70AB29 #90D240

Accessibility & contrast

On white

5.07
#507A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#507A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A1D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A1D#FFFFFF#000000##FFFFFF
##507A1D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700B
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#527568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #507a1d;
/* rgb */ color: rgb(80, 122, 29);
/* oklch */ color: oklch(53.0% 0.129 131.1);
Tailwind
colors: {
  custom: {
    50: '#85a060',
    500: '#507a1d',
    950: '#000000',
  },
}
SCSS
$custom: #507a1d;
$custom-light: #85a060;
$custom-dark: #000000;
JSON
{
  "hex": "#507a1d",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 87.097,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.12914,
    "h": 131.1
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#507A1D
secondary
#7445AE
accent
#43E58C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #507A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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