#5B701B#5B701B

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

Color values

HEX#5B701B
RGBrgb(91, 112, 27)
HSLhsl(75, 61%, 27%)
HSVhsv(75, 76%, 44%)
CMYKcmyk(18.7%, 0%, 75.9%, 56.1%)
CIE-LABlab(44.08, -20.52, 42.02)
CIE-LCHlch(44.08, 46.77, 116.03°)
OKLaboklab(51.09% -0.06 0.0936)
OKLCHoklch(51.09% 0.111 122.6)
XYZxyz(10.3065, 13.8916, 3.1751)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B701B #301B70
analogous
#705B1B #5B701B #30701B
triadic
#5B701B #1B5B70 #701B5B
tetradic
#5B701B #1B705B #301B70 #701B30
square
#5B701B #1B705B #301B70 #701B30
split-complementary
#5B701B #1B3070 #5B1B70
monochromatic
#141906 #333F0F #5B701B #83A127 #A9CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5b701b;
/* rgb */ color: rgb(91, 112, 27);
/* oklch */ color: oklch(51.1% 0.111 122.6);
Tailwind
colors: {
  custom: {
    50: '#8c995e',
    500: '#5b701b',
    950: '#000000',
  },
}
SCSS
$custom: #5b701b;
$custom-light: #8c995e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b701b",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 74.824,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.1112,
    "h": 122.6
  },
  "luminance": 0.13892
}

Semantic roles & 50–950 ramp

primary
#5B701B
secondary
#5A42A5
accent
#44E46B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5B701B

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

Preview Lab → · Contrast checker → · Palette generator →

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