#5D7F13#5D7F13

#5D7F13 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#5D7F13
RGBrgb(93, 127, 19)
HSLhsl(79, 74%, 29%)
HSVhsv(79, 85%, 50%)
CMYKcmyk(26.8%, 0%, 85%, 50.2%)
CIE-LABlab(48.95, -27.59, 49.25)
CIE-LCHlch(48.95, 56.45, 119.26°)
OKLaboklab(55.06% -0.08 0.1074)
OKLCHoklch(55.06% 0.134 126.7)
XYZxyz(12.2212, 17.5527, 3.3601)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7F13 #35137F
analogous
#7F6B13 #5D7F13 #277F13
triadic
#5D7F13 #135D7F #7F135D
tetradic
#5D7F13 #137F6B #35137F #7F1327
square
#5D7F13 #137F6B #35137F #7F1327
split-complementary
#5D7F13 #13277F #6B137F
monochromatic
#131B04 #364A0B #5D7F13 #84B41B #A7E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7F13#FFFFFF#000000##FFFFFF
##5D7F131.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)
#827420
Tritanopia (blue-blind)
#61796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7f13;
/* rgb */ color: rgb(93, 127, 19);
/* oklch */ color: oklch(55.1% 0.134 126.7);
Tailwind
colors: {
  custom: {
    50: '#8fa45d',
    500: '#5d7f13',
    950: '#000000',
  },
}
SCSS
$custom: #5d7f13;
$custom-light: #8fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7f13",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 78.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55059,
    "c": 0.13395,
    "h": 126.7
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#5D7F13
secondary
#6039B4
accent
#37F172
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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