#507016#507016

#507016 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.120 H 127.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#507016
RGBrgb(80, 112, 22)
HSLhsl(81, 67%, 26%)
HSVhsv(81, 80%, 44%)
CMYKcmyk(28.6%, 0%, 80.4%, 56.1%)
CIE-LABlab(43.29, -25.59, 42.85)
CIE-LCHlch(43.29, 49.91, 120.84°)
OKLaboklab(50.25% -0.0735 0.0948)
OKLCHoklch(50.25% 0.12 127.8)
XYZxyz(9.2473, 13.3515, 2.8488)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507016 #361670
analogous
#706316 #507016 #237016
triadic
#507016 #165070 #701650
tetradic
#507016 #167063 #361670 #701623
square
#507016 #167063 #361670 #701623
split-complementary
#507016 #162370 #631670
monochromatic
#121A05 #2B3D0C #507016 #75A320 #99D52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507016#FFFFFF#000000##FFFFFF
##5070161.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)
#766801
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#536B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #507016;
/* rgb */ color: rgb(80, 112, 22);
/* oklch */ color: oklch(50.2% 0.120 127.8);
Tailwind
colors: {
  custom: {
    50: '#84995b',
    500: '#507016',
    950: '#000000',
  },
}
SCSS
$custom: #507016;
$custom-light: #84995b;
$custom-dark: #000000;
JSON
{
  "hex": "#507016",
  "rgb": {
    "r": 80,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 81.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.11999,
    "h": 127.8
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#507016
secondary
#623CA6
accent
#3EEA7B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507016

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

Preview Lab → · Contrast checker → · Palette generator →

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