#507A29#507A29

#507A29 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.1% C 0.120 H 132.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#507A29
RGBrgb(80, 122, 41)
HSLhsl(91, 50%, 32%)
HSVhsv(91, 66%, 48%)
CMYKcmyk(34.4%, 0%, 66.4%, 52.2%)
CIE-LABlab(46.69, -29.03, 38.52)
CIE-LCHlch(46.69, 48.24, 127.00°)
OKLaboklab(53.06% -0.0813 0.0887)
OKLCHoklch(53.06% 0.12 132.5)
XYZxyz(10.6679, 15.7842, 4.5820)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A29 #53297A
analogous
#797A29 #507A29 #297A2B
triadic
#507A29 #29507A #7A2950
tetradic
#507A29 #29797A #53297A #7A2B29
square
#507A29 #29797A #53297A #7A2B29
split-complementary
#507A29 #2B297A #7A2979
monochromatic
#141E0A #324C1A #507A29 #6EA838 #8DC757

Accessibility & contrast

On white

5.05
#507A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#507A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A29
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A29#FFFFFF#000000##FFFFFF
##507A291.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#517569
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a29;
/* rgb */ color: rgb(80, 122, 41);
/* oklch */ color: oklch(53.1% 0.120 132.5);
Tailwind
colors: {
  custom: {
    50: '#84a067',
    500: '#507a29',
    950: '#000000',
  },
}
SCSS
$custom: #507a29;
$custom-light: #84a067;
$custom-dark: #000000;
JSON
{
  "hex": "#507a29",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 41
  },
  "hsl": {
    "h": 91.111,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.1203,
    "h": 132.5
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#507A29
secondary
#8153AC
accent
#4FD996
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507A29

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

Preview Lab → · Contrast checker → · Palette generator →

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