#507017#507017

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

Color values

HEX#507017
RGBrgb(80, 112, 23)
HSLhsl(82, 66%, 26%)
HSVhsv(82, 79%, 44%)
CMYKcmyk(28.6%, 0%, 79.5%, 56.1%)
CIE-LABlab(43.29, -25.53, 42.50)
CIE-LCHlch(43.29, 49.58, 121.00°)
OKLaboklab(50.25% -0.0733 0.0942)
OKLCHoklch(50.25% 0.119 127.9)
XYZxyz(9.2571, 13.3555, 2.9006)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507017 #371770
analogous
#706417 #507017 #247017
triadic
#507017 #175070 #701750
tetradic
#507017 #177064 #371770 #701724
square
#507017 #177064 #371770 #701724
split-complementary
#507017 #172470 #641770
monochromatic
#121905 #2C3D0D #507017 #74A321 #98D42D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507017#FFFFFF#000000##FFFFFF
##5070171.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)
#766803
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#536B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #507017;
/* rgb */ color: rgb(80, 112, 23);
/* oklch */ color: oklch(50.3% 0.119 127.9);
Tailwind
colors: {
  custom: {
    50: '#84995c',
    500: '#507017',
    950: '#000000',
  },
}
SCSS
$custom: #507017;
$custom-light: #84995c;
$custom-dark: #000000;
JSON
{
  "hex": "#507017",
  "rgb": {
    "r": 80,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 81.573,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50253,
    "c": 0.1194,
    "h": 127.9
  },
  "luminance": 0.13356
}

Semantic roles & 50–950 ramp

primary
#507017
secondary
#633DA6
accent
#3FE97C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507017

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

Preview Lab → · Contrast checker → · Palette generator →

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