#507111#507111

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

Color values

HEX#507111
RGBrgb(80, 113, 17)
HSLhsl(81, 74%, 25%)
HSVhsv(81, 85%, 44%)
CMYKcmyk(29.2%, 0%, 85%, 55.7%)
CIE-LABlab(43.59, -26.33, 44.74)
CIE-LCHlch(43.59, 51.91, 120.48°)
OKLaboklab(50.48% -0.0759 0.0979)
OKLCHoklch(50.48% 0.124 127.8)
XYZxyz(9.3146, 13.5560, 2.6560)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507111 #321171
analogous
#716211 #507111 #207111
triadic
#507111 #115071 #711150
tetradic
#507111 #117162 #321171 #711120
square
#507111 #117162 #321171 #711120
split-complementary
#507111 #112071 #621171
monochromatic
#131B04 #2A3C09 #507111 #76A619 #9BDB21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507111#FFFFFF#000000##FFFFFF
##5071111.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)
#73661C
Tritanopia (blue-blind)
#536B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #507111;
/* rgb */ color: rgb(80, 113, 17);
/* oklch */ color: oklch(50.5% 0.124 127.8);
Tailwind
colors: {
  custom: {
    50: '#859a59',
    500: '#507111',
    950: '#000000',
  },
}
SCSS
$custom: #507111;
$custom-light: #859a59;
$custom-dark: #000000;
JSON
{
  "hex": "#507111",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 80.625,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.12391,
    "h": 127.8
  },
  "luminance": 0.13556
}

Semantic roles & 50–950 ramp

primary
#507111
secondary
#5D36A8
accent
#37F177
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507111

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

Preview Lab → · Contrast checker → · Palette generator →

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