#5C701C#5C701C

#5C701C is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.2% C 0.110 H 122.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5C701C
RGBrgb(92, 112, 28)
HSLhsl(74, 60%, 27%)
HSVhsv(74, 75%, 44%)
CMYKcmyk(17.9%, 0%, 75%, 56.1%)
CIE-LABlab(44.16, -20.02, 41.73)
CIE-LCHlch(44.16, 46.29, 115.62°)
OKLaboklab(51.18% -0.0586 0.0932)
OKLCHoklch(51.18% 0.11 122.1)
XYZxyz(10.4175, 13.9475, 3.2417)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C701C #301C70
analogous
#705A1C #5C701C #32701C
triadic
#5C701C #1C5C70 #701C5C
tetradic
#5C701C #1C705A #301C70 #701C32
square
#5C701C #1C705A #301C70 #701C32
split-complementary
#5C701C #1C3270 #5A1C70
monochromatic
#141806 #343F10 #5C701C #84A128 #AACD39

Accessibility & contrast

On white

5.54
#5C701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5C701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C701C
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C701C#FFFFFF#000000##FFFFFF
##5C701C1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690D
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#616A60
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c701c;
/* rgb */ color: rgb(92, 112, 28);
/* oklch */ color: oklch(51.2% 0.110 122.1);
Tailwind
colors: {
  custom: {
    50: '#8d995e',
    500: '#5c701c',
    950: '#000000',
  },
}
SCSS
$custom: #5c701c;
$custom-light: #8d995e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c701c",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 74.286,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51177,
    "c": 0.11005,
    "h": 122.1
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#5C701C
secondary
#5A43A5
accent
#45E36A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5C701C

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

Preview Lab → · Contrast checker → · Palette generator →

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