#507412#507412

#507412 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.3% C 0.127 H 128.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#507412
RGBrgb(80, 116, 18)
HSLhsl(82, 73%, 26%)
HSVhsv(82, 84%, 45%)
CMYKcmyk(31%, 0%, 84.5%, 54.5%)
CIE-LABlab(44.57, -27.74, 45.32)
CIE-LCHlch(44.57, 53.14, 121.47°)
OKLaboklab(51.29% -0.0797 0.0993)
OKLCHoklch(51.29% 0.127 128.7)
XYZxyz(9.6628, 14.2397, 2.8116)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507412 #361274
analogous
#746712 #507412 #1F7412
triadic
#507412 #125074 #741250
tetradic
#507412 #127467 #361274 #74121F
square
#507412 #127467 #361274 #74121F
split-complementary
#507412 #121F74 #671274
monochromatic
#121A04 #2B3F0A #507412 #75A91A #99DD23

Accessibility & contrast

On white

5.46
#507412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#507412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507412
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507412#FFFFFF#000000##FFFFFF
##5074121.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#536E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #507412;
/* rgb */ color: rgb(80, 116, 18);
/* oklch */ color: oklch(51.3% 0.127 128.7);
Tailwind
colors: {
  custom: {
    50: '#859c5a',
    500: '#507412',
    950: '#000000',
  },
}
SCSS
$custom: #507412;
$custom-light: #859c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#507412",
  "rgb": {
    "r": 80,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 82.041,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.12734,
    "h": 128.7
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#507412
secondary
#6237AB
accent
#38F07C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507412

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

Preview Lab → · Contrast checker → · Palette generator →

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