#5C7C15#5C7C15

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

Color values

HEX#5C7C15
RGBrgb(92, 124, 21)
HSLhsl(79, 71%, 28%)
HSVhsv(79, 83%, 49%)
CMYKcmyk(25.8%, 0%, 83.1%, 51.4%)
CIE-LABlab(47.94, -26.46, 47.74)
CIE-LCHlch(47.94, 54.59, 119.00°)
OKLaboklab(54.22% -0.0768 0.1046)
OKLCHoklch(54.22% 0.13 126.3)
XYZxyz(11.7567, 16.7446, 3.3219)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7C15 #35157C
analogous
#7C6815 #5C7C15 #287C15
triadic
#5C7C15 #155C7C #7C155C
tetradic
#5C7C15 #157C68 #35157C #7C1528
square
#5C7C15 #157C68 #35157C #7C1528
split-complementary
#5C7C15 #15287C #68157C
monochromatic
#131A04 #35480C #5C7C15 #83B01E #A6DC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7C15#FFFFFF#000000##FFFFFF
##5C7C151.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)
#7F7120
Tritanopia (blue-blind)
#607669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c7c15;
/* rgb */ color: rgb(92, 124, 21);
/* oklch */ color: oklch(54.2% 0.130 126.3);
Tailwind
colors: {
  custom: {
    50: '#8ea25d',
    500: '#5c7c15',
    950: '#000000',
  },
}
SCSS
$custom: #5c7c15;
$custom-light: #8ea25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7c15",
  "rgb": {
    "r": 92,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 78.641,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.12975,
    "h": 126.3
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#5C7C15
secondary
#603CB1
accent
#3AEE72
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5C7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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