#507A39#507A39

#507A39 is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.3% C 0.105 H 135.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#507A39
RGBrgb(80, 122, 57)
HSLhsl(99, 36%, 35%)
HSVhsv(99, 53%, 48%)
CMYKcmyk(34.4%, 0%, 53.3%, 52.2%)
CIE-LABlab(46.87, -27.28, 30.78)
CIE-LCHlch(46.87, 41.13, 131.55°)
OKLaboklab(53.26% -0.0752 0.0736)
OKLCHoklch(53.26% 0.105 135.6)
XYZxyz(11.0060, 15.9195, 6.3630)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A39 #63397A
analogous
#717A39 #507A39 #397A42
triadic
#507A39 #39507A #7A3950
tetradic
#507A39 #39717A #63397A #7A4239
square
#507A39 #39717A #63397A #7A4239
split-complementary
#507A39 #42397A #7A3971
monochromatic
#192712 #355026 #507A39 #6BA44C #8CBD71

Accessibility & contrast

On white

5.02
#507A39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#507A39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A39
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A39#FFFFFF#000000##FFFFFF
##507A391.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7133
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#4F766B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a39;
/* rgb */ color: rgb(80, 122, 57);
/* oklch */ color: oklch(53.3% 0.105 135.6);
Tailwind
colors: {
  custom: {
    50: '#83a071',
    500: '#507a39',
    950: '#000000',
  },
}
SCSS
$custom: #507a39;
$custom-light: #83a071;
$custom-dark: #000000;
JSON
{
  "hex": "#507a39",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 57
  },
  "hsl": {
    "h": 98.769,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.10525,
    "h": 135.6
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#507A39
secondary
#9069A6
accent
#5BCCA4
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0F08
muted
#7C7E7B

Preview Lab

Preview with #507A39

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

Preview Lab → · Contrast checker → · Palette generator →

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