#5C7013#5C7013

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

Color values

HEX#5C7013
RGBrgb(92, 112, 19)
HSLhsl(73, 71%, 26%)
HSVhsv(73, 83%, 44%)
CMYKcmyk(17.9%, 0%, 83%, 56.1%)
CIE-LABlab(44.10, -20.50, 44.90)
CIE-LCHlch(44.10, 49.36, 114.54°)
OKLaboklab(51.12% -0.0607 0.0982)
OKLCHoklch(51.12% 0.115 121.7)
XYZxyz(10.3255, 13.9107, 2.7570)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7013 #271370
analogous
#705513 #5C7013 #2D7013
triadic
#5C7013 #135C70 #70135C
tetradic
#5C7013 #137055 #271370 #70132D
square
#5C7013 #137055 #271370 #70132D
split-complementary
#5C7013 #132D70 #551370
monochromatic
#151A04 #313C0A #5C7013 #87A41C #B2D925

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7013#FFFFFF#000000##FFFFFF
##5C70131.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)
#75681D
Tritanopia (blue-blind)
#616A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c7013;
/* rgb */ color: rgb(92, 112, 19);
/* oklch */ color: oklch(51.1% 0.115 121.7);
Tailwind
colors: {
  custom: {
    50: '#8d995a',
    500: '#5c7013',
    950: '#000000',
  },
}
SCSS
$custom: #5c7013;
$custom-light: #8d995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7013",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 72.903,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.11545,
    "h": 121.7
  },
  "luminance": 0.13911
}

Semantic roles & 50–950 ramp

primary
#5C7013
secondary
#5038A7
accent
#3AEE61
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C7013

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

Preview Lab → · Contrast checker → · Palette generator →

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