#507D29#507D29

#507D29 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.9% C 0.125 H 133.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#507D29
RGBrgb(80, 125, 41)
HSLhsl(92, 51%, 33%)
HSVhsv(92, 67%, 49%)
CMYKcmyk(36%, 0%, 67.2%, 51%)
CIE-LABlab(47.67, -30.45, 39.58)
CIE-LCHlch(47.67, 49.93, 127.57°)
OKLaboklab(53.85% -0.0852 0.0909)
OKLCHoklch(53.85% 0.125 133.1)
XYZxyz(11.0419, 16.5323, 4.7067)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D29 #56297D
analogous
#7A7D29 #507D29 #297D2C
triadic
#507D29 #29507D #7D2950
tetradic
#507D29 #297A7D #56297D #7D2C29
square
#507D29 #297A7D #56297D #7D2C29
split-complementary
#507D29 #2C297D #7D297A
monochromatic
#15210B #334F1A #507D29 #6DAB38 #8CC858

Accessibility & contrast

On white

4.88
#507D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#507D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D29
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D29#FFFFFF#000000##FFFFFF
##507D291.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731E
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#50786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d29;
/* rgb */ color: rgb(80, 125, 41);
/* oklch */ color: oklch(53.9% 0.125 133.1);
Tailwind
colors: {
  custom: {
    50: '#85a367',
    500: '#507d29',
    950: '#000000',
  },
}
SCSS
$custom: #507d29;
$custom-light: #85a367;
$custom-dark: #000000;
JSON
{
  "hex": "#507d29",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 92.143,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53854,
    "c": 0.12457,
    "h": 133.1
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#507D29
secondary
#8454AE
accent
#4EDA99
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507D29

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

Preview Lab → · Contrast checker → · Palette generator →

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