#5D7D18#5D7D18

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

Color values

HEX#5D7D18
RGBrgb(93, 125, 24)
HSLhsl(79, 68%, 29%)
HSVhsv(79, 81%, 49%)
CMYKcmyk(25.6%, 0%, 80.8%, 51%)
CIE-LABlab(48.34, -26.39, 47.19)
CIE-LCHlch(48.34, 54.06, 119.21°)
OKLaboklab(54.57% -0.0764 0.1039)
OKLCHoklch(54.57% 0.129 126.3)
XYZxyz(12.0128, 17.0601, 3.5240)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D18 #38187D
analogous
#7D6B18 #5D7D18 #2B7D18
triadic
#5D7D18 #185D7D #7D185D
tetradic
#5D7D18 #187D6B #38187D #7D182B
square
#5D7D18 #187D6B #38187D #7D182B
split-complementary
#5D7D18 #182B7D #6B187D
monochromatic
#131A05 #374A0E #5D7D18 #83B022 #A5D937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7D18#FFFFFF#000000##FFFFFF
##5D7D181.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)
#807222
Tritanopia (blue-blind)
#61776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d18;
/* rgb */ color: rgb(93, 125, 24);
/* oklch */ color: oklch(54.6% 0.129 126.3);
Tailwind
colors: {
  custom: {
    50: '#8ea25e',
    500: '#5d7d18',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d18;
$custom-light: #8ea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d18",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 79.01,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.12898,
    "h": 126.3
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#5D7D18
secondary
#633FB2
accent
#3DEB74
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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