#5C7C18#5C7C18

#5C7C18 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.2% C 0.128 H 126.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5C7C18
RGBrgb(92, 124, 24)
HSLhsl(79, 68%, 29%)
HSVhsv(79, 81%, 49%)
CMYKcmyk(25.8%, 0%, 80.6%, 51.4%)
CIE-LABlab(47.95, -26.32, 46.81)
CIE-LCHlch(47.95, 53.70, 119.35°)
OKLaboklab(54.24% -0.0761 0.1032)
OKLCHoklch(54.24% 0.128 126.4)
XYZxyz(11.7862, 16.7564, 3.4773)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7C18 #38187C
analogous
#7C6A18 #5C7C18 #2A7C18
triadic
#5C7C18 #185C7C #7C185C
tetradic
#5C7C18 #187C6A #38187C #7C182A
square
#5C7C18 #187C6A #38187C #7C182A
split-complementary
#5C7C18 #182A7C #6A187C
monochromatic
#131A05 #36490E #5C7C18 #82AF22 #A4D836

Accessibility & contrast

On white

4.83
#5C7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5C7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7C18
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7C18#FFFFFF#000000##FFFFFF
##5C7C181.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7122
Tritanopia (blue-blind)
#607669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c7c18;
/* rgb */ color: rgb(92, 124, 24);
/* oklch */ color: oklch(54.2% 0.128 126.4);
Tailwind
colors: {
  custom: {
    50: '#8ea25e',
    500: '#5c7c18',
    950: '#000000',
  },
}
SCSS
$custom: #5c7c18;
$custom-light: #8ea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7c18",
  "rgb": {
    "r": 92,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 79.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5424,
    "c": 0.12822,
    "h": 126.4
  },
  "luminance": 0.16757
}

Semantic roles & 50–950 ramp

primary
#5C7C18
secondary
#633FB1
accent
#3DEA75
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0F05
muted
#7D7E79

Preview Lab

Preview with #5C7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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