#5C7D15#5C7D15

#5C7D15 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.5% C 0.131 H 126.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5C7D15
RGBrgb(92, 125, 21)
HSLhsl(79, 71%, 29%)
HSVhsv(79, 83%, 49%)
CMYKcmyk(26.4%, 0%, 83.2%, 51%)
CIE-LABlab(48.26, -26.95, 48.03)
CIE-LCHlch(48.26, 55.07, 119.30°)
OKLaboklab(54.48% -0.0781 0.1052)
OKLCHoklch(54.48% 0.131 126.6)
XYZxyz(11.8827, 16.9965, 3.3639)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7D15 #36157D
analogous
#7D6A15 #5C7D15 #287D15
triadic
#5C7D15 #155C7D #7D155C
tetradic
#5C7D15 #157D6A #36157D #7D1528
square
#5C7D15 #157D6A #36157D #7D1528
split-complementary
#5C7D15 #15287D #6A157D
monochromatic
#131A04 #35490C #5C7D15 #83B11E #A6DC30

Accessibility & contrast

On white

4.77
#5C7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5C7D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7D15
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7D15#FFFFFF#000000##FFFFFF
##5C7D151.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#60776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7d15;
/* rgb */ color: rgb(92, 125, 21);
/* oklch */ color: oklch(54.5% 0.131 126.6);
Tailwind
colors: {
  custom: {
    50: '#8ea25d',
    500: '#5c7d15',
    950: '#000000',
  },
}
SCSS
$custom: #5c7d15;
$custom-light: #8ea25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7d15",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 79.038,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54482,
    "c": 0.13103,
    "h": 126.6
  },
  "luminance": 0.16997
}

Semantic roles & 50–950 ramp

primary
#5C7D15
secondary
#613CB2
accent
#3AEE73
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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