#5C7E15#5C7E15

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

Color values

HEX#5C7E15
RGBrgb(92, 126, 21)
HSLhsl(79, 71%, 29%)
HSVhsv(79, 83%, 49%)
CMYKcmyk(27%, 0%, 83.3%, 50.6%)
CIE-LABlab(48.57, -27.44, 48.32)
CIE-LCHlch(48.57, 55.56, 119.59°)
OKLaboklab(54.74% -0.0794 0.1058)
OKLCHoklch(54.74% 0.132 126.9)
XYZxyz(12.0099, 17.2509, 3.4063)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7E15 #37157E
analogous
#7E6C15 #5C7E15 #277E15
triadic
#5C7E15 #155C7E #7E155C
tetradic
#5C7E15 #157E6C #37157E #7E1527
square
#5C7E15 #157E6C #37157E #7E1527
split-complementary
#5C7E15 #15277E #6C157E
monochromatic
#131A04 #364A0C #5C7E15 #82B21E #A5DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7E15#FFFFFF#000000##FFFFFF
##5C7E151.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)
#807321
Tritanopia (blue-blind)
#60786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7e15;
/* rgb */ color: rgb(92, 126, 21);
/* oklch */ color: oklch(54.7% 0.132 126.9);
Tailwind
colors: {
  custom: {
    50: '#8ea35d',
    500: '#5c7e15',
    950: '#000000',
  },
}
SCSS
$custom: #5c7e15;
$custom-light: #8ea35d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7e15",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 79.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54741,
    "c": 0.1323,
    "h": 126.9
  },
  "luminance": 0.17251
}

Semantic roles & 50–950 ramp

primary
#5C7E15
secondary
#623CB3
accent
#3AEE74
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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