#507D30#507D30

#507D30 is a mid, moderate yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.119 H 134.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#507D30
RGBrgb(80, 125, 48)
HSLhsl(95, 45%, 34%)
HSVhsv(95, 62%, 49%)
CMYKcmyk(36%, 0%, 61.6%, 51%)
CIE-LABlab(47.73, -29.76, 36.37)
CIE-LCHlch(47.73, 46.99, 129.30°)
OKLaboklab(53.93% -0.0827 0.0849)
OKLCHoklch(53.93% 0.119 134.3)
XYZxyz(11.1752, 16.5856, 5.4083)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D30 #5D307D
analogous
#777D30 #507D30 #307D37
triadic
#507D30 #30507D #7D3050
tetradic
#507D30 #30777D #5D307D #7D3730
square
#507D30 #30777D #5D307D #7D3730
split-complementary
#507D30 #37307D #7D3077
monochromatic
#17250E #34511F #507D30 #6CA941 #8CC364

Accessibility & contrast

On white

4.86
#507D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#507D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D30
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D30#FFFFFF#000000##FFFFFF
##507D301.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827428
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#50786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d30;
/* rgb */ color: rgb(80, 125, 48);
/* oklch */ color: oklch(53.9% 0.119 134.3);
Tailwind
colors: {
  custom: {
    50: '#84a36b',
    500: '#507d30',
    950: '#000000',
  },
}
SCSS
$custom: #507d30;
$custom-light: #84a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#507d30",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 95.065,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.11856,
    "h": 134.3
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#507D30
secondary
#8B5EAB
accent
#54D49F
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #507D30

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

Preview Lab → · Contrast checker → · Palette generator →

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