#508A1E#508A1E

#508A1E is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.150 H 134.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#508A1E
RGBrgb(80, 138, 30)
HSLhsl(92, 64%, 33%)
HSVhsv(92, 78%, 54%)
CMYKcmyk(42%, 0%, 78.3%, 45.9%)
CIE-LABlab(51.81, -37.13, 48.19)
CIE-LCHlch(51.81, 60.83, 127.61°)
OKLaboklab(57.22% -0.1042 0.1073)
OKLCHoklch(57.22% 0.15 134.1)
XYZxyz(12.6309, 19.9755, 4.4182)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A1E #581E8A
analogous
#868A1E #508A1E #1E8A22
triadic
#508A1E #1E508A #8A1E50
tetradic
#508A1E #1E868A #581E8A #8A221E
square
#508A1E #1E868A #581E8A #8A221E
split-complementary
#508A1E #221E8A #8A1E86
monochromatic
#162508 #335813 #508A1E #6DBC29 #8CD84B

Accessibility & contrast

On white

4.20
#508A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#508A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A1E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A1E#FFFFFF#000000##000000
##508A1E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E04
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#4F8476
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #508a1e;
/* rgb */ color: rgb(80, 138, 30);
/* oklch */ color: oklch(57.2% 0.150 134.1);
Tailwind
colors: {
  custom: {
    50: '#86ac63',
    500: '#508a1e',
    950: '#000000',
  },
}
SCSS
$custom: #508a1e;
$custom-light: #86ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#508a1e",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 92.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57215,
    "c": 0.14957,
    "h": 134.1
  },
  "luminance": 0.19976
}

Semantic roles & 50–950 ramp

primary
#508A1E
secondary
#864ABA
accent
#41E79A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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