#5C7015#5C7015

#5C7015 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.1% C 0.114 H 121.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5C7015
RGBrgb(92, 112, 21)
HSLhsl(73, 68%, 26%)
HSVhsv(73, 81%, 44%)
CMYKcmyk(17.9%, 0%, 81.2%, 56.1%)
CIE-LABlab(44.11, -20.40, 44.26)
CIE-LCHlch(44.11, 48.73, 114.75°)
OKLaboklab(51.13% -0.0602 0.0972)
OKLCHoklch(51.13% 0.114 121.8)
XYZxyz(10.3433, 13.9178, 2.8508)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7015 #291570
analogous
#705615 #5C7015 #2E7015
triadic
#5C7015 #155C70 #70155C
tetradic
#5C7015 #157056 #291570 #70152E
square
#5C7015 #157056 #291570 #70152E
split-complementary
#5C7015 #152E70 #561570
monochromatic
#151A05 #323C0B #5C7015 #86A41F #B1D729

Accessibility & contrast

On white

5.55
#5C7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5C7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7015
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7015#FFFFFF#000000##FFFFFF
##5C70151.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#616A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c7015;
/* rgb */ color: rgb(92, 112, 21);
/* oklch */ color: oklch(51.1% 0.114 121.8);
Tailwind
colors: {
  custom: {
    50: '#8d995b',
    500: '#5c7015',
    950: '#000000',
  },
}
SCSS
$custom: #5c7015;
$custom-light: #8d995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7015",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 73.187,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51129,
    "c": 0.11439,
    "h": 121.8
  },
  "luminance": 0.13918
}

Semantic roles & 50–950 ramp

primary
#5C7015
secondary
#523BA6
accent
#3DEB63
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C7015

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

Preview Lab → · Contrast checker → · Palette generator →

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