#507313#507313

#507313 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.126 H 128.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#507313
RGBrgb(80, 115, 19)
HSLhsl(82, 72%, 26%)
HSVhsv(82, 83%, 45%)
CMYKcmyk(30.4%, 0%, 83.5%, 54.9%)
CIE-LABlab(44.25, -27.21, 44.73)
CIE-LCHlch(44.25, 52.35, 121.31°)
OKLaboklab(51.03% -0.0782 0.0983)
OKLCHoklch(51.03% 0.126 128.5)
XYZxyz(9.5565, 14.0137, 2.8174)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507313 #361373
analogous
#736613 #507313 #207313
triadic
#507313 #135073 #731350
tetradic
#507313 #137366 #361373 #731320
square
#507313 #137366 #361373 #731320
split-complementary
#507313 #132073 #661373
monochromatic
#121A04 #2B3E0A #507313 #75A81C #99DB25

Accessibility & contrast

On white

5.52
#507313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#507313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507313
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507313#FFFFFF#000000##FFFFFF
##5073131.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#536D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #507313;
/* rgb */ color: rgb(80, 115, 19);
/* oklch */ color: oklch(51.0% 0.126 128.5);
Tailwind
colors: {
  custom: {
    50: '#859b5a',
    500: '#507313',
    950: '#000000',
  },
}
SCSS
$custom: #507313;
$custom-light: #859b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#507313",
  "rgb": {
    "r": 80,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 81.875,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.12555,
    "h": 128.5
  },
  "luminance": 0.14014
}

Semantic roles & 50–950 ramp

primary
#507313
secondary
#6238AA
accent
#39EE7B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507313

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

Preview Lab → · Contrast checker → · Palette generator →

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