#507213#507213

#507213 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.8% C 0.124 H 128.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#507213
RGBrgb(80, 114, 19)
HSLhsl(81, 71%, 26%)
HSVhsv(81, 83%, 45%)
CMYKcmyk(29.8%, 0%, 83.3%, 55.3%)
CIE-LABlab(43.93, -26.72, 44.43)
CIE-LCHlch(43.93, 51.85, 121.03°)
OKLaboklab(50.76% -0.0769 0.0976)
OKLCHoklch(50.76% 0.124 128.2)
XYZxyz(9.4431, 13.7869, 2.7796)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507213 #351372
analogous
#726413 #507213 #207213
triadic
#507213 #135072 #721350
tetradic
#507213 #137264 #351372 #721320
square
#507213 #137264 #351372 #721320
split-complementary
#507213 #132072 #641372
monochromatic
#121A04 #2B3E0A #507213 #75A61C #9ADB25

Accessibility & contrast

On white

5.59
#507213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#507213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507213
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507213#FFFFFF#000000##FFFFFF
##5072131.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#536C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #507213;
/* rgb */ color: rgb(80, 114, 19);
/* oklch */ color: oklch(50.8% 0.124 128.2);
Tailwind
colors: {
  custom: {
    50: '#859a5a',
    500: '#507213',
    950: '#000000',
  },
}
SCSS
$custom: #507213;
$custom-light: #859a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#507213",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 81.474,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.12425,
    "h": 128.2
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#507213
secondary
#6038A9
accent
#3AEE7A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507213

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

Preview Lab → · Contrast checker → · Palette generator →

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