#5D7E18#5D7E18

#5D7E18 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.130 H 126.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5D7E18
RGBrgb(93, 126, 24)
HSLhsl(79, 68%, 29%)
HSVhsv(79, 81%, 49%)
CMYKcmyk(26.2%, 0%, 81%, 50.6%)
CIE-LABlab(48.65, -26.88, 47.48)
CIE-LCHlch(48.65, 54.56, 119.51°)
OKLaboklab(54.83% -0.0777 0.1046)
OKLCHoklch(54.83% 0.13 126.6)
XYZxyz(12.1400, 17.3146, 3.5664)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E18 #39187E
analogous
#7E6C18 #5D7E18 #2A7E18
triadic
#5D7E18 #185D7E #7E185D
tetradic
#5D7E18 #187E6C #39187E #7E182A
square
#5D7E18 #187E6C #39187E #7E182A
split-complementary
#5D7E18 #182A7E #6C187E
monochromatic
#131A05 #374B0E #5D7E18 #83B122 #A5D937

Accessibility & contrast

On white

4.71
#5D7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5D7E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E18
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E18#FFFFFF#000000##FFFFFF
##5D7E181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#61786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e18;
/* rgb */ color: rgb(93, 126, 24);
/* oklch */ color: oklch(54.8% 0.130 126.6);
Tailwind
colors: {
  custom: {
    50: '#8ea35f',
    500: '#5d7e18',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e18;
$custom-light: #8ea35f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e18",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 79.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.13027,
    "h": 126.6
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#5D7E18
secondary
#653FB2
accent
#3DEB75
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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