#5D7D19#5D7D19

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

Color values

HEX#5D7D19
RGBrgb(93, 125, 25)
HSLhsl(79, 67%, 29%)
HSVhsv(79, 80%, 49%)
CMYKcmyk(25.6%, 0%, 80%, 51%)
CIE-LABlab(48.34, -26.34, 46.86)
CIE-LCHlch(48.34, 53.76, 119.34°)
OKLaboklab(54.58% -0.0762 0.1034)
OKLCHoklch(54.58% 0.128 126.4)
XYZxyz(12.0234, 17.0644, 3.5798)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D19 #39197D
analogous
#7D6B19 #5D7D19 #2B7D19
triadic
#5D7D19 #195D7D #7D195D
tetradic
#5D7D19 #197D6B #39197D #7D192B
square
#5D7D19 #197D6B #39197D #7D192B
split-complementary
#5D7D19 #192B7D #6B197D
monochromatic
#131A05 #374A0F #5D7D19 #83B023 #A5D739

Accessibility & contrast

On white

4.76
#5D7D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5D7D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D19
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D19#FFFFFF#000000##FFFFFF
##5D7D191.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#61776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d19;
/* rgb */ color: rgb(93, 125, 25);
/* oklch */ color: oklch(54.6% 0.128 126.4);
Tailwind
colors: {
  custom: {
    50: '#8ea25f',
    500: '#5d7d19',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d19;
$custom-light: #8ea25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d19",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 79.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.12844,
    "h": 126.4
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#5D7D19
secondary
#6540B1
accent
#3EEA75
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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