#5C7715#5C7715

#5C7715 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.123 H 124.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C7715
RGBrgb(92, 119, 21)
HSLhsl(77, 70%, 27%)
HSVhsv(77, 82%, 47%)
CMYKcmyk(22.7%, 0%, 82.4%, 53.3%)
CIE-LABlab(46.34, -23.98, 46.30)
CIE-LCHlch(46.34, 52.14, 117.38°)
OKLaboklab(52.93% -0.07 0.1016)
OKLCHoklch(52.93% 0.123 124.6)
XYZxyz(11.1459, 15.5230, 3.1183)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7715 #301577
analogous
#776115 #5C7715 #2B7715
triadic
#5C7715 #155C77 #77155C
tetradic
#5C7715 #157761 #301577 #77152B
square
#5C7715 #157761 #301577 #77152B
split-complementary
#5C7715 #152B77 #611577
monochromatic
#141A05 #34430C #5C7715 #84AB1E #AADA2D

Accessibility & contrast

On white

5.12
#5C7715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5C7715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7715
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7715#FFFFFF#000000##FFFFFF
##5C77151.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7B6D1F
Tritanopia (blue-blind)
#617165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c7715;
/* rgb */ color: rgb(92, 119, 21);
/* oklch */ color: oklch(52.9% 0.123 124.6);
Tailwind
colors: {
  custom: {
    50: '#8d9e5c',
    500: '#5c7715',
    950: '#000000',
  },
}
SCSS
$custom: #5c7715;
$custom-light: #8d9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7715",
  "rgb": {
    "r": 92,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 76.531,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.12334,
    "h": 124.6
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#5C7715
secondary
#5A3BAD
accent
#3BED6C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7715

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

Preview Lab → · Contrast checker → · Palette generator →

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