#508133#508133

#508133 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.122 H 135.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#508133
RGBrgb(80, 129, 51)
HSLhsl(98, 43%, 35%)
HSVhsv(98, 60%, 51%)
CMYKcmyk(38%, 0%, 60.5%, 49.4%)
CIE-LABlab(49.06, -31.32, 36.42)
CIE-LCHlch(49.06, 48.03, 130.70°)
OKLaboklab(55.02% -0.0867 0.0854)
OKLCHoklch(55.02% 0.122 135.5)
XYZxyz(11.7558, 17.6445, 5.9176)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508133 #643381
analogous
#778133 #508133 #33813D
triadic
#508133 #335081 #813350
tetradic
#508133 #337781 #643381 #813D33
square
#508133 #337781 #643381 #813D33
split-complementary
#508133 #3D3381 #813377
monochromatic
#1A2910 #355522 #508133 #6BAD44 #8CC46A

Accessibility & contrast

On white

4.64
#508133 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #508133
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508133#FFFFFF#000000##FFFFFF
##5081331.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86772B
Deuteranopia (green-blind)
#7F7339
Tritanopia (blue-blind)
#4F7C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508133;
/* rgb */ color: rgb(80, 129, 51);
/* oklch */ color: oklch(55.0% 0.122 135.5);
Tailwind
colors: {
  custom: {
    50: '#84a66e',
    500: '#508133',
    950: '#000000',
  },
}
SCSS
$custom: #508133;
$custom-light: #84a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#508133",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 51
  },
  "hsl": {
    "h": 97.692,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.1217,
    "h": 135.5
  },
  "luminance": 0.17645
}

Semantic roles & 50–950 ramp

primary
#508133
secondary
#9164AC
accent
#55D3A4
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508133

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

Preview Lab → · Contrast checker → · Palette generator →

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