#507E29#507E29

#507E29 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.126 H 133.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#507E29
RGBrgb(80, 126, 41)
HSLhsl(92, 51%, 33%)
HSVhsv(92, 67%, 49%)
CMYKcmyk(36.5%, 0%, 67.5%, 50.6%)
CIE-LABlab(47.99, -30.91, 39.93)
CIE-LCHlch(47.99, 50.50, 127.75°)
OKLaboklab(54.12% -0.0865 0.0916)
OKLCHoklch(54.12% 0.126 133.3)
XYZxyz(11.1692, 16.7868, 4.7491)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E29 #57297E
analogous
#7A7E29 #507E29 #297E2D
triadic
#507E29 #29507E #7E2950
tetradic
#507E29 #297A7E #57297E #7E2D29
square
#507E29 #297A7E #57297E #7E2D29
split-complementary
#507E29 #2D297E #7E297A
monochromatic
#15220B #33501A #507E29 #6DAC38 #8CC959

Accessibility & contrast

On white

4.82
#507E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#507E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E29
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E29#FFFFFF#000000##FFFFFF
##507E291.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741E
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#50796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e29;
/* rgb */ color: rgb(80, 126, 41);
/* oklch */ color: oklch(54.1% 0.126 133.3);
Tailwind
colors: {
  custom: {
    50: '#85a367',
    500: '#507e29',
    950: '#000000',
  },
}
SCSS
$custom: #507e29;
$custom-light: #85a367;
$custom-dark: #000000;
JSON
{
  "hex": "#507e29",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 92.471,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54119,
    "c": 0.12598,
    "h": 133.3
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#507E29
secondary
#8555AE
accent
#4DDA9A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507E29

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

Preview Lab → · Contrast checker → · Palette generator →

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