#5D7B15#5D7B15

#5D7B15 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 54.0% C 0.128 H 125.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5D7B15
RGBrgb(93, 123, 21)
HSLhsl(78, 71%, 28%)
HSVhsv(78, 83%, 48%)
CMYKcmyk(24.4%, 0%, 82.9%, 51.8%)
CIE-LABlab(47.68, -25.54, 47.54)
CIE-LCHlch(47.68, 53.97, 118.25°)
OKLaboklab(54.04% -0.0743 0.1042)
OKLCHoklch(54.04% 0.128 125.5)
XYZxyz(11.7326, 16.5470, 3.2851)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7B15 #33157B
analogous
#7B6615 #5D7B15 #2A7B15
triadic
#5D7B15 #155D7B #7B155D
tetradic
#5D7B15 #157B66 #33157B #7B152A
square
#5D7B15 #157B66 #33157B #7B152A
split-complementary
#5D7B15 #152A7B #66157B
monochromatic
#141A04 #35470C #5D7B15 #85AF1E #A9DB2F

Accessibility & contrast

On white

4.87
#5D7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5D7B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7B15
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7B15#FFFFFF#000000##FFFFFF
##5D7B151.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#627568
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d7b15;
/* rgb */ color: rgb(93, 123, 21);
/* oklch */ color: oklch(54.0% 0.128 125.5);
Tailwind
colors: {
  custom: {
    50: '#8ea15d',
    500: '#5d7b15',
    950: '#000000',
  },
}
SCSS
$custom: #5d7b15;
$custom-light: #8ea15d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7b15",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 77.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54036,
    "c": 0.12795,
    "h": 125.5
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#5D7B15
secondary
#5E3BB0
accent
#3AEE6F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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