#507015#507015

#507015 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.121 H 127.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#507015
RGBrgb(80, 112, 21)
HSLhsl(81, 68%, 26%)
HSVhsv(81, 81%, 44%)
CMYKcmyk(28.6%, 0%, 81.2%, 56.1%)
CIE-LABlab(43.28, -25.64, 43.19)
CIE-LCHlch(43.28, 50.22, 120.70°)
OKLaboklab(50.24% -0.0738 0.0953)
OKLCHoklch(50.24% 0.121 127.7)
XYZxyz(9.2378, 13.3477, 2.7990)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507015 #351570
analogous
#706215 #507015 #227015
triadic
#507015 #155070 #701550
tetradic
#507015 #157062 #351570 #701522
square
#507015 #157062 #351570 #701522
split-complementary
#507015 #152270 #621570
monochromatic
#121A05 #2B3C0B #507015 #75A41F #9AD729

Accessibility & contrast

On white

5.72
#507015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#507015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507015
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507015#FFFFFF#000000##FFFFFF
##5070151.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#536B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #507015;
/* rgb */ color: rgb(80, 112, 21);
/* oklch */ color: oklch(50.2% 0.121 127.7);
Tailwind
colors: {
  custom: {
    50: '#84995b',
    500: '#507015',
    950: '#000000',
  },
}
SCSS
$custom: #507015;
$custom-light: #84995b;
$custom-dark: #000000;
JSON
{
  "hex": "#507015",
  "rgb": {
    "r": 80,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 81.099,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.5024,
    "c": 0.12055,
    "h": 127.7
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#507015
secondary
#603BA6
accent
#3DEB7A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507015

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

Preview Lab → · Contrast checker → · Palette generator →

#507015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva