#5C7E11#5C7E11

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

Color values

HEX#5C7E11
RGBrgb(92, 126, 17)
HSLhsl(79, 76%, 28%)
HSVhsv(79, 87%, 49%)
CMYKcmyk(27%, 0%, 86.5%, 50.6%)
CIE-LABlab(48.56, -27.60, 49.42)
CIE-LCHlch(48.56, 56.60, 119.19°)
OKLaboklab(54.72% -0.0801 0.1075)
OKLCHoklch(54.72% 0.134 126.7)
XYZxyz(11.9757, 17.2373, 3.2264)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7E11 #33117E
analogous
#7E6A11 #5C7E11 #257E11
triadic
#5C7E11 #115C7E #7E115C
tetradic
#5C7E11 #117E6A #33117E #7E1125
square
#5C7E11 #117E6A #33117E #7E1125
split-complementary
#5C7E11 #11257E #6A117E
monochromatic
#141B04 #35480A #5C7E11 #83B418 #A8E227

Accessibility & contrast

On white

4.72
#5C7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5C7E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7E11
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7E11#FFFFFF#000000##FFFFFF
##5C7E111.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#80731E
Tritanopia (blue-blind)
#60786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7e11;
/* rgb */ color: rgb(92, 126, 17);
/* oklch */ color: oklch(54.7% 0.134 126.7);
Tailwind
colors: {
  custom: {
    50: '#8ea35c',
    500: '#5c7e11',
    950: '#000000',
  },
}
SCSS
$custom: #5c7e11;
$custom-light: #8ea35c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7e11",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 78.716,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.13407,
    "h": 126.7
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#5C7E11
secondary
#5E37B4
accent
#35F370
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F04
muted
#7E7F79

Preview Lab

Preview with #5C7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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