#5C701B#5C701B

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

Color values

HEX#5C701B
RGBrgb(92, 112, 27)
HSLhsl(74, 61%, 27%)
HSVhsv(74, 76%, 44%)
CMYKcmyk(17.9%, 0%, 75.9%, 56.1%)
CIE-LABlab(44.15, -20.08, 42.12)
CIE-LCHlch(44.15, 46.66, 115.49°)
OKLaboklab(51.17% -0.0588 0.0938)
OKLCHoklch(51.17% 0.111 122.1)
XYZxyz(10.4058, 13.9428, 3.1797)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C701B #2F1B70
analogous
#705A1B #5C701B #31701B
triadic
#5C701B #1B5C70 #701B5C
tetradic
#5C701B #1B705A #2F1B70 #701B31
square
#5C701B #1B705A #2F1B70 #701B31
split-complementary
#5C701B #1B3170 #5A1B70
monochromatic
#141906 #333F0F #5C701B #85A127 #ABCF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C701B#FFFFFF#000000##FFFFFF
##5C701B1.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)
#77690B
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#616A60
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c701b;
/* rgb */ color: rgb(92, 112, 27);
/* oklch */ color: oklch(51.2% 0.111 122.1);
Tailwind
colors: {
  custom: {
    50: '#8d995e',
    500: '#5c701b',
    950: '#000000',
  },
}
SCSS
$custom: #5c701b;
$custom-light: #8d995e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c701b",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 74.118,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.11073,
    "h": 122.1
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#5C701B
secondary
#5942A5
accent
#44E469
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5C701B

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

Preview Lab → · Contrast checker → · Palette generator →

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