#507618#507618

#507618 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.9% C 0.127 H 129.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#507618
RGBrgb(80, 118, 24)
HSLhsl(84, 66%, 28%)
HSVhsv(84, 80%, 46%)
CMYKcmyk(32.2%, 0%, 79.7%, 53.7%)
CIE-LABlab(45.26, -28.39, 44.01)
CIE-LCHlch(45.26, 52.37, 122.82°)
OKLaboklab(51.85% -0.081 0.0976)
OKLCHoklch(51.85% 0.127 129.7)
XYZxyz(9.9515, 14.7280, 3.1824)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507618 #3E1876
analogous
#766D18 #507618 #217618
triadic
#507618 #185076 #761850
tetradic
#507618 #18766D #3E1876 #761821
square
#507618 #18766D #3E1876 #761821
split-complementary
#507618 #182176 #6D1876
monochromatic
#111905 #2E430E #507618 #72A922 #94D533

Accessibility & contrast

On white

5.32
#507618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#507618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507618
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507618#FFFFFF#000000##FFFFFF
##5076181.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#527164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #507618;
/* rgb */ color: rgb(80, 118, 24);
/* oklch */ color: oklch(51.9% 0.127 129.7);
Tailwind
colors: {
  custom: {
    50: '#859d5d',
    500: '#507618',
    950: '#000000',
  },
}
SCSS
$custom: #507618;
$custom-light: #859d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#507618",
  "rgb": {
    "r": 80,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 84.255,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.12683,
    "h": 129.7
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#507618
secondary
#6B3FAB
accent
#3FE984
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #507618

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

Preview Lab → · Contrast checker → · Palette generator →

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