#5D7D14#5D7D14

#5D7D14 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.5% C 0.131 H 126.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5D7D14
RGBrgb(93, 125, 20)
HSLhsl(78, 72%, 28%)
HSVhsv(78, 84%, 49%)
CMYKcmyk(25.6%, 0%, 84%, 51%)
CIE-LABlab(48.32, -26.57, 48.40)
CIE-LCHlch(48.32, 55.22, 118.77°)
OKLaboklab(54.55% -0.0772 0.1058)
OKLCHoklch(54.55% 0.131 126.1)
XYZxyz(11.9742, 17.0447, 3.3208)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D14 #34147D
analogous
#7D6814 #5D7D14 #287D14
triadic
#5D7D14 #145D7D #7D145D
tetradic
#5D7D14 #147D68 #34147D #7D1428
square
#5D7D14 #147D68 #34147D #7D1428
split-complementary
#5D7D14 #14287D #68147D
monochromatic
#141A04 #36480C #5D7D14 #84B21C #A8DE2E

Accessibility & contrast

On white

4.76
#5D7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5D7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D14
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D14#FFFFFF#000000##FFFFFF
##5D7D141.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#61776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d14;
/* rgb */ color: rgb(93, 125, 20);
/* oklch */ color: oklch(54.5% 0.131 126.1);
Tailwind
colors: {
  custom: {
    50: '#8fa25d',
    500: '#5d7d14',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d14;
$custom-light: #8fa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d14",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 78.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.13097,
    "h": 126.1
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#5D7D14
secondary
#5F3AB2
accent
#39EF70
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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