#508134#508134

#508134 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.121 H 135.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#508134
RGBrgb(80, 129, 52)
HSLhsl(98, 43%, 35%)
HSVhsv(98, 60%, 51%)
CMYKcmyk(38%, 0%, 59.7%, 49.4%)
CIE-LABlab(49.07, -31.21, 35.94)
CIE-LCHlch(49.07, 47.60, 130.97°)
OKLaboklab(55.04% -0.0864 0.0844)
OKLCHoklch(55.04% 0.121 135.7)
XYZxyz(11.7781, 17.6534, 6.0350)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508134 #653481
analogous
#768134 #508134 #34813F
triadic
#508134 #345081 #813450
tetradic
#508134 #347681 #653481 #813F34
square
#508134 #347681 #653481 #813F34
split-complementary
#508134 #3F3481 #813476
monochromatic
#1A2A11 #355522 #508134 #6BAD46 #8CC46C

Accessibility & contrast

On white

4.63
#508134 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#508134 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #508134
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508134#FFFFFF#000000##FFFFFF
##5081341.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772C
Deuteranopia (green-blind)
#7F733A
Tritanopia (blue-blind)
#4F7C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508134;
/* rgb */ color: rgb(80, 129, 52);
/* oklch */ color: oklch(55.0% 0.121 135.7);
Tailwind
colors: {
  custom: {
    50: '#84a66e',
    500: '#508134',
    950: '#000000',
  },
}
SCSS
$custom: #508134;
$custom-light: #84a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#508134",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 52
  },
  "hsl": {
    "h": 98.182,
    "s": 42.541,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55037,
    "c": 0.12077,
    "h": 135.7
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

primary
#508134
secondary
#9265AC
accent
#55D2A5
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508134

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

Preview Lab → · Contrast checker → · Palette generator →

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