#507718#507718

#507718 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.128 H 130.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#507718
RGBrgb(80, 119, 24)
HSLhsl(85, 66%, 28%)
HSVhsv(85, 80%, 47%)
CMYKcmyk(32.8%, 0%, 79.8%, 53.3%)
CIE-LABlab(45.59, -28.87, 44.32)
CIE-LCHlch(45.59, 52.89, 123.07°)
OKLaboklab(52.12% -0.0823 0.0982)
OKLCHoklch(52.12% 0.128 130)
XYZxyz(10.0699, 14.9648, 3.2219)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507718 #3F1877
analogous
#776F18 #507718 #207718
triadic
#507718 #185077 #771850
tetradic
#507718 #18776F #3F1877 #771820
square
#507718 #18776F #3F1877 #771820
split-complementary
#507718 #182077 #6F1877
monochromatic
#111905 #2E440E #507718 #72AA22 #93D633

Accessibility & contrast

On white

5.26
#507718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#507718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507718
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507718#FFFFFF#000000##FFFFFF
##5077181.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#527265
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #507718;
/* rgb */ color: rgb(80, 119, 24);
/* oklch */ color: oklch(52.1% 0.128 130.0);
Tailwind
colors: {
  custom: {
    50: '#859e5d',
    500: '#507718',
    950: '#000000',
  },
}
SCSS
$custom: #507718;
$custom-light: #859e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#507718",
  "rgb": {
    "r": 80,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 84.632,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.12815,
    "h": 130
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#507718
secondary
#6C3FAC
accent
#3EE985
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #507718

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

Preview Lab → · Contrast checker → · Palette generator →

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