#5E7E11#5E7E11

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

Color values

HEX#5E7E11
RGBrgb(94, 126, 17)
HSLhsl(78, 76%, 28%)
HSVhsv(78, 87%, 49%)
CMYKcmyk(25.4%, 0%, 86.5%, 50.6%)
CIE-LABlab(48.69, -26.76, 49.58)
CIE-LCHlch(48.69, 56.34, 118.36°)
OKLaboklab(54.86% -0.0779 0.1078)
OKLCHoklch(54.86% 0.133 125.9)
XYZxyz(12.1782, 17.3417, 3.2359)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E11 #31117E
analogous
#7E6711 #5E7E11 #277E11
triadic
#5E7E11 #115E7E #7E115E
tetradic
#5E7E11 #117E67 #31117E #7E1127
square
#5E7E11 #117E67 #31117E #7E1127
split-complementary
#5E7E11 #11277E #67117E
monochromatic
#141B04 #36480A #5E7E11 #86B418 #ABE227

Accessibility & contrast

On white

4.70
#5E7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5E7E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7E11
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7E11#FFFFFF#000000##FFFFFF
##5E7E111.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#63786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e11;
/* rgb */ color: rgb(94, 126, 17);
/* oklch */ color: oklch(54.9% 0.133 125.9);
Tailwind
colors: {
  custom: {
    50: '#8fa35c',
    500: '#5e7e11',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e11;
$custom-light: #8fa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e11",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 77.615,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.13302,
    "h": 125.9
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#5E7E11
secondary
#5C37B4
accent
#35F36D
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F04
muted
#7E7F79

Preview Lab

Preview with #5E7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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