#5D7D1E#5D7D1E

#5D7D1E is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.125 H 126.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5D7D1E
RGBrgb(93, 125, 30)
HSLhsl(80, 61%, 30%)
HSVhsv(80, 76%, 49%)
CMYKcmyk(25.6%, 0%, 76%, 51%)
CIE-LABlab(48.37, -26.06, 45.11)
CIE-LCHlch(48.37, 52.10, 120.01°)
OKLaboklab(54.61% -0.075 0.1006)
OKLCHoklch(54.61% 0.125 126.7)
XYZxyz(12.0822, 17.0879, 3.8898)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D1E #3E1E7D
analogous
#7D6E1E #5D7D1E #2D7D1E
triadic
#5D7D1E #1E5D7D #7D1E5D
tetradic
#5D7D1E #1E7D6E #3E1E7D #7D1E2D
square
#5D7D1E #1E7D6E #3E1E7D #7D1E2D
split-complementary
#5D7D1E #1E2D7D #6E1E7D
monochromatic
#141A06 #384C12 #5D7D1E #82AE2A #A2D243

Accessibility & contrast

On white

4.75
#5D7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5D7D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D1E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D1E#FFFFFF#000000##FFFFFF
##5D7D1E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740B
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#61776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d1e;
/* rgb */ color: rgb(93, 125, 30);
/* oklch */ color: oklch(54.6% 0.125 126.7);
Tailwind
colors: {
  custom: {
    50: '#8ea261',
    500: '#5d7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d1e;
$custom-light: #8ea261;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d1e",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 80.211,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.12548,
    "h": 126.7
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

primary
#5D7D1E
secondary
#6A46B0
accent
#43E47A
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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