#5D7E1E#5D7E1E

#5D7E1E is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.9% C 0.127 H 127.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5D7E1E
RGBrgb(93, 126, 30)
HSLhsl(81, 62%, 31%)
HSVhsv(81, 76%, 49%)
CMYKcmyk(26.2%, 0%, 76.2%, 50.6%)
CIE-LABlab(48.69, -26.55, 45.42)
CIE-LCHlch(48.69, 52.61, 120.30°)
OKLaboklab(54.87% -0.0763 0.1013)
OKLCHoklch(54.87% 0.127 127)
XYZxyz(12.2094, 17.3424, 3.9322)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E1E #3F1E7E
analogous
#7E6F1E #5D7E1E #2D7E1E
triadic
#5D7E1E #1E5D7E #7E1E5D
tetradic
#5D7E1E #1E7E6F #3F1E7E #7E1E2D
square
#5D7E1E #1E7E6F #3F1E7E #7E1E2D
split-complementary
#5D7E1E #1E2D7E #6F1E7E
monochromatic
#141B06 #394D12 #5D7E1E #81AF2A #A1D244

Accessibility & contrast

On white

4.70
#5D7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5D7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E1E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E1E#FFFFFF#000000##FFFFFF
##5D7E1E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750B
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#61786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e1e;
/* rgb */ color: rgb(93, 126, 30);
/* oklch */ color: oklch(54.9% 0.127 127.0);
Tailwind
colors: {
  custom: {
    50: '#8ea361',
    500: '#5d7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e1e;
$custom-light: #8ea361;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e1e",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 80.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.1268,
    "h": 127
  },
  "luminance": 0.17343
}

Semantic roles & 50–950 ramp

primary
#5D7E1E
secondary
#6B47B1
accent
#43E57B
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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