#507612#507612

#507612 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.130 H 129.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#507612
RGBrgb(80, 118, 18)
HSLhsl(83, 74%, 27%)
HSVhsv(83, 85%, 46%)
CMYKcmyk(32.2%, 0%, 84.7%, 53.7%)
CIE-LABlab(45.23, -28.70, 45.91)
CIE-LCHlch(45.23, 54.14, 122.01°)
OKLaboklab(51.82% -0.0823 0.1006)
OKLCHoklch(51.82% 0.13 129.3)
XYZxyz(9.8959, 14.7057, 2.8893)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507612 #381276
analogous
#766A12 #507612 #1E7612
triadic
#507612 #125076 #761250
tetradic
#507612 #12766A #381276 #76121E
square
#507612 #12766A #381276 #76121E
split-complementary
#507612 #121E76 #6A1276
monochromatic
#121B04 #2C410A #507612 #74AB1A #97DE25

Accessibility & contrast

On white

5.33
#507612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#507612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507612
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507612#FFFFFF#000000##FFFFFF
##5076121.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#776A1E
Tritanopia (blue-blind)
#537064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #507612;
/* rgb */ color: rgb(80, 118, 18);
/* oklch */ color: oklch(51.8% 0.130 129.3);
Tailwind
colors: {
  custom: {
    50: '#859d5b',
    500: '#507612',
    950: '#000000',
  },
}
SCSS
$custom: #507612;
$custom-light: #859d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#507612",
  "rgb": {
    "r": 80,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 82.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51818,
    "c": 0.12993,
    "h": 129.3
  },
  "luminance": 0.14706
}

Semantic roles & 50–950 ramp

primary
#507612
secondary
#6437AD
accent
#38F07E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507612

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

Preview Lab → · Contrast checker → · Palette generator →

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