#508334#508334

#508334 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.6% C 0.124 H 135.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#508334
RGBrgb(80, 131, 52)
HSLhsl(99, 43%, 36%)
HSVhsv(99, 60%, 51%)
CMYKcmyk(38.9%, 0%, 60.3%, 48.6%)
CIE-LABlab(49.72, -32.14, 36.68)
CIE-LCHlch(49.72, 48.77, 131.22°)
OKLaboklab(55.57% -0.0889 0.086)
OKLCHoklch(55.57% 0.124 135.9)
XYZxyz(12.0441, 18.1854, 6.1237)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508334 #673483
analogous
#778334 #508334 #34833F
triadic
#508334 #345083 #833450
tetradic
#508334 #347783 #673483 #833F34
square
#508334 #347783 #673483 #833F34
split-complementary
#508334 #3F3483 #833477
monochromatic
#1A2B11 #355723 #508334 #6BAF45 #8CC56D

Accessibility & contrast

On white

4.53
#508334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#508334 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508334
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508334#FFFFFF#000000##000000
##5083341.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87792C
Deuteranopia (green-blind)
#80753A
Tritanopia (blue-blind)
#4E7E72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508334;
/* rgb */ color: rgb(80, 131, 52);
/* oklch */ color: oklch(55.6% 0.124 135.9);
Tailwind
colors: {
  custom: {
    50: '#85a76e',
    500: '#508334',
    950: '#000000',
  },
}
SCSS
$custom: #508334;
$custom-light: #85a76e;
$custom-dark: #000000;
JSON
{
  "hex": "#508334",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 98.734,
    "s": 43.169,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55565,
    "c": 0.12371,
    "h": 135.9
  },
  "luminance": 0.18186
}

Semantic roles & 50–950 ramp

primary
#508334
secondary
#9466AD
accent
#55D3A6
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508334

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

Preview Lab → · Contrast checker → · Palette generator →

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