#5D8A1E#5D8A1E

#5D8A1E is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.143 H 130.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5D8A1E
RGBrgb(93, 138, 30)
HSLhsl(85, 64%, 33%)
HSVhsv(85, 78%, 54%)
CMYKcmyk(32.6%, 0%, 78.3%, 45.9%)
CIE-LABlab(52.51, -32.26, 49.10)
CIE-LCHlch(52.51, 58.74, 123.30°)
OKLaboklab(57.97% -0.0919 0.109)
OKLCHoklch(57.97% 0.143 130.1)
XYZxyz(13.8370, 20.5974, 4.4747)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A1E #4B1E8A
analogous
#8A811E #5D8A1E #278A1E
triadic
#5D8A1E #1E5D8A #8A1E5D
tetradic
#5D8A1E #1E8A81 #4B1E8A #8A1E27
square
#5D8A1E #1E8A81 #4B1E8A #8A1E27
split-complementary
#5D8A1E #1E278A #811E8A
monochromatic
#192508 #3B5813 #5D8A1E #7FBC29 #9DD84B

Accessibility & contrast

On white

4.10
#5D8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5D8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8A1E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8A1E#FFFFFF#000000##000000
##5D8A1E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F03
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#5F8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d8a1e;
/* rgb */ color: rgb(93, 138, 30);
/* oklch */ color: oklch(58.0% 0.143 130.1);
Tailwind
colors: {
  custom: {
    50: '#8fac63',
    500: '#5d8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a1e;
$custom-light: #8fac63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a1e",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 85,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.14251,
    "h": 130.1
  },
  "luminance": 0.20598
}

Semantic roles & 50–950 ramp

primary
#5D8A1E
secondary
#794ABA
accent
#41E786
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

#5D8A1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva