#507113#507113

#507113 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.123 H 127.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#507113
RGBrgb(80, 113, 19)
HSLhsl(81, 71%, 26%)
HSVhsv(81, 83%, 44%)
CMYKcmyk(29.2%, 0%, 83.2%, 55.7%)
CIE-LABlab(43.60, -26.23, 44.13)
CIE-LCHlch(43.60, 51.34, 120.73°)
OKLaboklab(50.49% -0.0755 0.097)
OKLCHoklch(50.49% 0.123 127.9)
XYZxyz(9.3310, 13.5625, 2.7422)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507113 #341371
analogous
#716313 #507113 #217113
triadic
#507113 #135071 #711350
tetradic
#507113 #137163 #341371 #711321
square
#507113 #137163 #341371 #711321
split-complementary
#507113 #132171 #631371
monochromatic
#131A04 #2B3D0A #507113 #75A51C #9ADA25

Accessibility & contrast

On white

5.66
#507113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#507113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507113
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507113#FFFFFF#000000##FFFFFF
##5071131.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#73661D
Tritanopia (blue-blind)
#536B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #507113;
/* rgb */ color: rgb(80, 113, 19);
/* oklch */ color: oklch(50.5% 0.123 127.9);
Tailwind
colors: {
  custom: {
    50: '#859a5a',
    500: '#507113',
    950: '#000000',
  },
}
SCSS
$custom: #507113;
$custom-light: #859a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#507113",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 81.064,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50493,
    "c": 0.12294,
    "h": 127.9
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#507113
secondary
#5F38A8
accent
#3AEE79
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507113

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

Preview Lab → · Contrast checker → · Palette generator →

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