#507F29#507F29

#507F29 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.4% C 0.127 H 133.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#507F29
RGBrgb(80, 127, 41)
HSLhsl(93, 51%, 33%)
HSVhsv(93, 68%, 50%)
CMYKcmyk(37%, 0%, 67.7%, 50.2%)
CIE-LABlab(48.32, -31.38, 40.28)
CIE-LCHlch(48.32, 51.06, 127.92°)
OKLaboklab(54.38% -0.0877 0.0924)
OKLCHoklch(54.38% 0.127 133.5)
XYZxyz(11.2977, 17.0438, 4.7919)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507F29 #58297F
analogous
#7B7F29 #507F29 #297F2D
triadic
#507F29 #29507F #7F2950
tetradic
#507F29 #297B7F #58297F #7F2D29
square
#507F29 #297B7F #58297F #7F2D29
split-complementary
#507F29 #2D297F #7F297B
monochromatic
#16220B #33511A #507F29 #6DAD38 #8CC959

Accessibility & contrast

On white

4.76
#507F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#507F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507F29
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507F29#FFFFFF#000000##FFFFFF
##507F291.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#7E7130
Tritanopia (blue-blind)
#507A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #507f29;
/* rgb */ color: rgb(80, 127, 41);
/* oklch */ color: oklch(54.4% 0.127 133.5);
Tailwind
colors: {
  custom: {
    50: '#85a467',
    500: '#507f29',
    950: '#000000',
  },
}
SCSS
$custom: #507f29;
$custom-light: #85a467;
$custom-dark: #000000;
JSON
{
  "hex": "#507f29",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 92.791,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.12739,
    "h": 133.5
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#507F29
secondary
#8655AF
accent
#4DDB9A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507F29

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

Preview Lab → · Contrast checker → · Palette generator →

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