#5D7C18#5D7C18

#5D7C18 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.3% C 0.128 H 126.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5D7C18
RGBrgb(93, 124, 24)
HSLhsl(79, 68%, 29%)
HSVhsv(79, 81%, 49%)
CMYKcmyk(25%, 0%, 80.6%, 51.4%)
CIE-LABlab(48.02, -25.90, 46.89)
CIE-LCHlch(48.02, 53.57, 118.91°)
OKLaboklab(54.31% -0.0751 0.1033)
OKLCHoklch(54.31% 0.128 126)
XYZxyz(11.8868, 16.8082, 3.4820)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7C18 #37187C
analogous
#7C6918 #5D7C18 #2B7C18
triadic
#5D7C18 #185D7C #7C185D
tetradic
#5D7C18 #187C69 #37187C #7C182B
square
#5D7C18 #187C69 #37187C #7C182B
split-complementary
#5D7C18 #182B7C #69187C
monochromatic
#131A05 #37490E #5D7C18 #83AF22 #A6D836

Accessibility & contrast

On white

4.81
#5D7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5D7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7C18
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7C18#FFFFFF#000000##FFFFFF
##5D7C181.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7122
Tritanopia (blue-blind)
#617669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d7c18;
/* rgb */ color: rgb(93, 124, 24);
/* oklch */ color: oklch(54.3% 0.128 126.0);
Tailwind
colors: {
  custom: {
    50: '#8ea25e',
    500: '#5d7c18',
    950: '#000000',
  },
}
SCSS
$custom: #5d7c18;
$custom-light: #8ea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7c18",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 78.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.1277,
    "h": 126
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#5D7C18
secondary
#623FB1
accent
#3DEA73
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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