#5D7C14#5D7C14

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

Color values

HEX#5D7C14
RGBrgb(93, 124, 20)
HSLhsl(78, 72%, 28%)
HSVhsv(78, 84%, 49%)
CMYKcmyk(25%, 0%, 83.9%, 51.4%)
CIE-LABlab(48.00, -26.08, 48.12)
CIE-LCHlch(48.00, 54.73, 118.46°)
OKLaboklab(54.29% -0.0759 0.1052)
OKLCHoklch(54.29% 0.13 125.8)
XYZxyz(11.8482, 16.7928, 3.2788)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7C14 #33147C
analogous
#7C6714 #5D7C14 #297C14
triadic
#5D7C14 #145D7C #7C145D
tetradic
#5D7C14 #147C67 #33147C #7C1429
square
#5D7C14 #147C67 #33147C #7C1429
split-complementary
#5D7C14 #14297C #67147C
monochromatic
#141A04 #35470B #5D7C14 #85B11D #A9DD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7C14#FFFFFF#000000##FFFFFF
##5D7C141.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: #5d7c14;
/* rgb */ color: rgb(93, 124, 20);
/* oklch */ color: oklch(54.3% 0.130 125.8);
Tailwind
colors: {
  custom: {
    50: '#8ea25d',
    500: '#5d7c14',
    950: '#000000',
  },
}
SCSS
$custom: #5d7c14;
$custom-light: #8ea25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7c14",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 77.885,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54289,
    "c": 0.12971,
    "h": 125.8
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#5D7C14
secondary
#5E3AB2
accent
#39EF6F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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