#508114#508114

#508114 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.143 H 131.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#508114
RGBrgb(80, 129, 20)
HSLhsl(87, 73%, 29%)
HSVhsv(87, 84%, 51%)
CMYKcmyk(38%, 0%, 84.5%, 49.4%)
CIE-LABlab(48.83, -33.69, 48.57)
CIE-LCHlch(48.83, 59.11, 124.75°)
OKLaboklab(54.76% -0.0956 0.1065)
OKLCHoklch(54.76% 0.143 131.9)
XYZxyz(11.2847, 17.4560, 3.4364)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508114 #451481
analogous
#817C14 #508114 #1A8114
triadic
#508114 #145081 #811450
tetradic
#508114 #14817C #451481 #81141A
square
#508114 #14817C #451481 #81141A
split-complementary
#508114 #141A81 #7C1481
monochromatic
#101A04 #2F4C0C #508114 #71B61C #91DF30

Accessibility & contrast

On white

4.68
#508114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#508114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #508114
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508114#FFFFFF#000000##FFFFFF
##5081141.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#517B6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #508114;
/* rgb */ color: rgb(80, 129, 20);
/* oklch */ color: oklch(54.8% 0.143 131.9);
Tailwind
colors: {
  custom: {
    50: '#86a65d',
    500: '#508114',
    950: '#000000',
  },
}
SCSS
$custom: #508114;
$custom-light: #86a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#508114",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 86.972,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.14313,
    "h": 131.9
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#508114
secondary
#723BB6
accent
#38F08B
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #508114

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

Preview Lab → · Contrast checker → · Palette generator →

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