#5D7C13#5D7C13

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

Color values

HEX#5D7C13
RGBrgb(93, 124, 19)
HSLhsl(78, 73%, 28%)
HSVhsv(78, 85%, 49%)
CMYKcmyk(25%, 0%, 84.7%, 51.4%)
CIE-LABlab(47.99, -26.12, 48.40)
CIE-LCHlch(47.99, 55.00, 118.36°)
OKLaboklab(54.28% -0.076 0.1056)
OKLCHoklch(54.28% 0.13 125.7)
XYZxyz(11.8395, 16.7893, 3.2329)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7C13 #32137C
analogous
#7C6613 #5D7C13 #297C13
triadic
#5D7C13 #135D7C #7C135D
tetradic
#5D7C13 #137C66 #32137C #7C1329
square
#5D7C13 #137C66 #32137C #7C1329
split-complementary
#5D7C13 #13297C #66137C
monochromatic
#141B04 #35470B #5D7C13 #85B11B #A9DF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7C13#FFFFFF#000000##FFFFFF
##5D7C131.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)
#7F711F
Tritanopia (blue-blind)
#617669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d7c13;
/* rgb */ color: rgb(93, 124, 19);
/* oklch */ color: oklch(54.3% 0.130 125.7);
Tailwind
colors: {
  custom: {
    50: '#8fa25c',
    500: '#5d7c13',
    950: '#000000',
  },
}
SCSS
$custom: #5d7c13;
$custom-light: #8fa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7c13",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 77.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54284,
    "c": 0.13016,
    "h": 125.7
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#5D7C13
secondary
#5D39B2
accent
#38F06E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F04
muted
#7E7E79

Preview Lab

Preview with #5D7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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