#5C7115#5C7115

#5C7115 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.4% C 0.116 H 122.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5C7115
RGBrgb(92, 113, 21)
HSLhsl(74, 69%, 26%)
HSVhsv(74, 81%, 44%)
CMYKcmyk(18.6%, 0%, 81.4%, 55.7%)
CIE-LABlab(44.43, -20.92, 44.55)
CIE-LCHlch(44.43, 49.22, 115.16°)
OKLaboklab(51.39% -0.0617 0.0979)
OKLCHoklch(51.39% 0.116 122.2)
XYZxyz(10.4543, 14.1397, 2.8878)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7115 #2A1571
analogous
#715815 #5C7115 #2E7115
triadic
#5C7115 #155C71 #71155C
tetradic
#5C7115 #157158 #2A1571 #71152E
square
#5C7115 #157158 #2A1571 #71152E
split-complementary
#5C7115 #152E71 #581571
monochromatic
#151A05 #323D0B #5C7115 #86A51F #B0D729

Accessibility & contrast

On white

5.49
#5C7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5C7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7115
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7115#FFFFFF#000000##FFFFFF
##5C71151.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#616B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c7115;
/* rgb */ color: rgb(92, 113, 21);
/* oklch */ color: oklch(51.4% 0.116 122.2);
Tailwind
colors: {
  custom: {
    50: '#8d995b',
    500: '#5c7115',
    950: '#000000',
  },
}
SCSS
$custom: #5c7115;
$custom-light: #8d995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7115",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 73.696,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.11567,
    "h": 122.2
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#5C7115
secondary
#533BA7
accent
#3CEB64
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7115

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

Preview Lab → · Contrast checker → · Palette generator →

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