#5B701C#5B701C

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

Color values

HEX#5B701C
RGBrgb(91, 112, 28)
HSLhsl(75, 60%, 27%)
HSVhsv(75, 75%, 44%)
CMYKcmyk(18.7%, 0%, 75%, 56.1%)
CIE-LABlab(44.08, -20.46, 41.64)
CIE-LCHlch(44.08, 46.39, 116.17°)
OKLaboklab(51.1% -0.0597 0.093)
OKLCHoklch(51.1% 0.111 122.7)
XYZxyz(10.3183, 13.8963, 3.2370)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B701C #311C70
analogous
#705B1C #5B701C #31701C
triadic
#5B701C #1C5B70 #701C5B
tetradic
#5B701C #1C705B #311C70 #701C31
square
#5B701C #1C705B #311C70 #701C31
split-complementary
#5B701C #1C3170 #5B1C70
monochromatic
#141806 #333F10 #5B701C #83A128 #A8CD39

Accessibility & contrast

On white

5.56
#5B701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B701C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B701C#FFFFFF#000000##FFFFFF
##5B701C1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b701c;
/* rgb */ color: rgb(91, 112, 28);
/* oklch */ color: oklch(51.1% 0.111 122.7);
Tailwind
colors: {
  custom: {
    50: '#8c995e',
    500: '#5b701c',
    950: '#000000',
  },
}
SCSS
$custom: #5b701c;
$custom-light: #8c995e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b701c",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 75,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.11053,
    "h": 122.7
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#5B701C
secondary
#5C43A5
accent
#45E36C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5B701C

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

Preview Lab → · Contrast checker → · Palette generator →

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