#5D7E11#5D7E11

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

Color values

HEX#5D7E11
RGBrgb(93, 126, 17)
HSLhsl(78, 76%, 28%)
HSVhsv(78, 87%, 49%)
CMYKcmyk(26.2%, 0%, 86.5%, 50.6%)
CIE-LABlab(48.62, -27.18, 49.50)
CIE-LCHlch(48.62, 56.47, 118.77°)
OKLaboklab(54.79% -0.079 0.1076)
OKLCHoklch(54.79% 0.134 126.3)
XYZxyz(12.0763, 17.2891, 3.2311)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E11 #32117E
analogous
#7E6811 #5D7E11 #267E11
triadic
#5D7E11 #115D7E #7E115D
tetradic
#5D7E11 #117E68 #32117E #7E1126
square
#5D7E11 #117E68 #32117E #7E1126
split-complementary
#5D7E11 #11267E #68117E
monochromatic
#141B04 #35480A #5D7E11 #85B418 #A9E227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7E11#FFFFFF#000000##FFFFFF
##5D7E111.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)
#81731E
Tritanopia (blue-blind)
#61786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7e11;
/* rgb */ color: rgb(93, 126, 17);
/* oklch */ color: oklch(54.8% 0.134 126.3);
Tailwind
colors: {
  custom: {
    50: '#8fa35c',
    500: '#5d7e11',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e11;
$custom-light: #8fa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e11",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 78.165,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54791,
    "c": 0.13354,
    "h": 126.3
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#5D7E11
secondary
#5D37B4
accent
#35F36E
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F04
muted
#7E7F79

Preview Lab

Preview with #5D7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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