#508F30#508F30

#508F30 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.144 H 136.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#508F30
RGBrgb(80, 143, 48)
HSLhsl(100, 50%, 37%)
HSVhsv(100, 66%, 56%)
CMYKcmyk(44.1%, 0%, 66.4%, 43.9%)
CIE-LABlab(53.56, -37.90, 42.83)
CIE-LCHlch(53.56, 57.19, 131.51°)
OKLaboklab(58.69% -0.1049 0.0987)
OKLCHoklch(58.69% 0.144 136.8)
XYZxyz(13.6638, 21.5630, 6.2378)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F30 #6F308F
analogous
#808F30 #508F30 #308F3F
triadic
#508F30 #30508F #8F3050
tetradic
#508F30 #30808F #6F308F #8F3F30
square
#508F30 #30808F #6F308F #8F3F30
split-complementary
#508F30 #3F308F #8F3080
monochromatic
#1D3311 #366121 #508F30 #6ABD3F #8DCE6C

Accessibility & contrast

On white

3.95
#508F30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#508F30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F30
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F30#FFFFFF#000000##000000
##508F301.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948324
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#4D8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f30;
/* rgb */ color: rgb(80, 143, 48);
/* oklch */ color: oklch(58.7% 0.144 136.8);
Tailwind
colors: {
  custom: {
    50: '#86b06d',
    500: '#508f30',
    950: '#000000',
  },
}
SCSS
$custom: #508f30;
$custom-light: #86b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#508f30",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 48
  },
  "hsl": {
    "h": 99.789,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58691,
    "c": 0.14404,
    "h": 136.8
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#508F30
secondary
#9A66B5
accent
#4FD9AB
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #508F30

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

Preview Lab → · Contrast checker → · Palette generator →

#508F30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva