#5D7C15#5D7C15

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

Color values

HEX#5D7C15
RGBrgb(93, 124, 21)
HSLhsl(78, 71%, 28%)
HSVhsv(78, 83%, 49%)
CMYKcmyk(25%, 0%, 83.1%, 51.4%)
CIE-LABlab(48.00, -26.04, 47.82)
CIE-LCHlch(48.00, 54.45, 118.57°)
OKLaboklab(54.29% -0.0757 0.1048)
OKLCHoklch(54.29% 0.129 125.8)
XYZxyz(11.8573, 16.7964, 3.3267)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7C15 #34157C
analogous
#7C6715 #5D7C15 #2A7C15
triadic
#5D7C15 #155D7C #7C155D
tetradic
#5D7C15 #157C67 #34157C #7C152A
square
#5D7C15 #157C67 #34157C #7C152A
split-complementary
#5D7C15 #152A7C #67157C
monochromatic
#141A04 #36480C #5D7C15 #84B01E #A8DC30

Accessibility & contrast

On white

4.82
#5D7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D7C15
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7C15#FFFFFF#000000##FFFFFF
##5D7C151.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d7c15;
/* rgb */ color: rgb(93, 124, 21);
/* oklch */ color: oklch(54.3% 0.129 125.8);
Tailwind
colors: {
  custom: {
    50: '#8ea25d',
    500: '#5d7c15',
    950: '#000000',
  },
}
SCSS
$custom: #5d7c15;
$custom-light: #8ea25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7c15",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 78.058,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.12923,
    "h": 125.8
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#5D7C15
secondary
#5F3CB1
accent
#3AEE70
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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