#5D7E13#5D7E13

#5D7E13 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.133 H 126.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5D7E13
RGBrgb(93, 126, 19)
HSLhsl(79, 74%, 28%)
HSVhsv(79, 85%, 49%)
CMYKcmyk(26.2%, 0%, 84.9%, 50.6%)
CIE-LABlab(48.63, -27.10, 48.97)
CIE-LCHlch(48.63, 55.97, 118.96°)
OKLaboklab(54.8% -0.0787 0.1068)
OKLCHoklch(54.8% 0.133 126.4)
XYZxyz(12.0927, 17.2957, 3.3173)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E13 #34137E
analogous
#7E6913 #5D7E13 #277E13
triadic
#5D7E13 #135D7E #7E135D
tetradic
#5D7E13 #137E69 #34137E #7E1327
square
#5D7E13 #137E69 #34137E #7E1327
split-complementary
#5D7E13 #13277E #69137E
monochromatic
#141B04 #36490B #5D7E13 #84B31B #A8DF2C

Accessibility & contrast

On white

4.71
#5D7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5D7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E13
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E13#FFFFFF#000000##FFFFFF
##5D7E131.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#61786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7e13;
/* rgb */ color: rgb(93, 126, 19);
/* oklch */ color: oklch(54.8% 0.133 126.4);
Tailwind
colors: {
  custom: {
    50: '#8fa35c',
    500: '#5d7e13',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e13;
$custom-light: #8fa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e13",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 78.505,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54801,
    "c": 0.13269,
    "h": 126.4
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#5D7E13
secondary
#5F39B4
accent
#37F070
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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