#5C7D18#5C7D18

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

Color values

HEX#5C7D18
RGBrgb(92, 125, 24)
HSLhsl(80, 68%, 29%)
HSVhsv(80, 81%, 49%)
CMYKcmyk(26.4%, 0%, 80.8%, 51%)
CIE-LABlab(48.27, -26.81, 47.10)
CIE-LCHlch(48.27, 54.20, 119.65°)
OKLaboklab(54.5% -0.0775 0.1038)
OKLCHoklch(54.5% 0.13 126.7)
XYZxyz(11.9122, 17.0083, 3.5193)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7D18 #39187D
analogous
#7D6C18 #5C7D18 #2A7D18
triadic
#5C7D18 #185C7D #7D185C
tetradic
#5C7D18 #187D6C #39187D #7D182A
square
#5C7D18 #187D6C #39187D #7D182A
split-complementary
#5C7D18 #182A7D #6C187D
monochromatic
#131A05 #364A0E #5C7D18 #82B022 #A4D937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7D18#FFFFFF#000000##FFFFFF
##5C7D181.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)
#7F7222
Tritanopia (blue-blind)
#60776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7d18;
/* rgb */ color: rgb(92, 125, 24);
/* oklch */ color: oklch(54.5% 0.130 126.7);
Tailwind
colors: {
  custom: {
    50: '#8ea25e',
    500: '#5c7d18',
    950: '#000000',
  },
}
SCSS
$custom: #5c7d18;
$custom-light: #8ea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7d18",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 79.604,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.12951,
    "h": 126.7
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#5C7D18
secondary
#653FB2
accent
#3DEB76
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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