#5D7C19#5D7C19

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

Color values

HEX#5D7C19
RGBrgb(93, 124, 25)
HSLhsl(79, 66%, 29%)
HSVhsv(79, 80%, 49%)
CMYKcmyk(25%, 0%, 79.8%, 51.4%)
CIE-LABlab(48.02, -25.84, 46.56)
CIE-LCHlch(48.02, 53.26, 119.03°)
OKLaboklab(54.32% -0.0748 0.1028)
OKLCHoklch(54.32% 0.127 126.1)
XYZxyz(11.8974, 16.8125, 3.5378)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7C19 #38197C
analogous
#7C6A19 #5D7C19 #2C7C19
triadic
#5D7C19 #195D7C #7C195D
tetradic
#5D7C19 #197C6A #38197C #7C192C
square
#5D7C19 #197C6A #38197C #7C192C
split-complementary
#5D7C19 #192C7C #6A197C
monochromatic
#131905 #37490F #5D7C19 #83AF23 #A5D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7C19#FFFFFF#000000##FFFFFF
##5D7C191.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)
#7F7123
Tritanopia (blue-blind)
#61766A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d7c19;
/* rgb */ color: rgb(93, 124, 25);
/* oklch */ color: oklch(54.3% 0.127 126.1);
Tailwind
colors: {
  custom: {
    50: '#8ea25f',
    500: '#5d7c19',
    950: '#000000',
  },
}
SCSS
$custom: #5d7c19;
$custom-light: #8ea25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7c19",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 78.788,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.12715,
    "h": 126.1
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#5D7C19
secondary
#6340B0
accent
#3EE974
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7C19

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

Preview Lab → · Contrast checker → · Palette generator →

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