#5D7F14#5D7F14

#5D7F14 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.134 H 126.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5D7F14
RGBrgb(93, 127, 20)
HSLhsl(79, 73%, 29%)
HSVhsv(79, 84%, 50%)
CMYKcmyk(26.8%, 0%, 84.3%, 50.2%)
CIE-LABlab(48.95, -27.55, 48.97)
CIE-LCHlch(48.95, 56.19, 119.36°)
OKLaboklab(55.06% -0.0798 0.107)
OKLCHoklch(55.06% 0.134 126.7)
XYZxyz(12.2299, 17.5562, 3.4060)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7F14 #36147F
analogous
#7F6C14 #5D7F14 #287F14
triadic
#5D7F14 #145D7F #7F145D
tetradic
#5D7F14 #147F6C #36147F #7F1428
square
#5D7F14 #147F6C #36147F #7F1428
split-complementary
#5D7F14 #14287F #6C147F
monochromatic
#131A04 #364A0C #5D7F14 #84B41C #A7DE2F

Accessibility & contrast

On white

4.66
#5D7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5D7F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7F14
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7F14#FFFFFF#000000##FFFFFF
##5D7F141.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817420
Tritanopia (blue-blind)
#61796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7f14;
/* rgb */ color: rgb(93, 127, 20);
/* oklch */ color: oklch(55.1% 0.134 126.7);
Tailwind
colors: {
  custom: {
    50: '#8fa45d',
    500: '#5d7f14',
    950: '#000000',
  },
}
SCSS
$custom: #5d7f14;
$custom-light: #8fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7f14",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 79.065,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55064,
    "c": 0.13351,
    "h": 126.7
  },
  "luminance": 0.17556
}

Semantic roles & 50–950 ramp

primary
#5D7F14
secondary
#613BB4
accent
#38EF73
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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