#5B701D#5B701D

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

Color values

HEX#5B701D
RGBrgb(91, 112, 29)
HSLhsl(75, 59%, 28%)
HSVhsv(75, 74%, 44%)
CMYKcmyk(18.7%, 0%, 74.1%, 56.1%)
CIE-LABlab(44.09, -20.40, 41.24)
CIE-LCHlch(44.09, 46.01, 116.32°)
OKLaboklab(51.11% -0.0594 0.0924)
OKLCHoklch(51.11% 0.11 122.8)
XYZxyz(10.3305, 13.9012, 3.3011)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B701D #321D70
analogous
#705C1D #5B701D #31701D
triadic
#5B701D #1D5B70 #701D5B
tetradic
#5B701D #1D705C #321D70 #701D31
square
#5B701D #1D705C #321D70 #701D31
split-complementary
#5B701D #1D3170 #5C1D70
monochromatic
#141806 #343F10 #5B701D #82A12A #A8CC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B701D#FFFFFF#000000##FFFFFF
##5B701D1.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)
#77690F
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#606A60
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b701d;
/* rgb */ color: rgb(91, 112, 29);
/* oklch */ color: oklch(51.1% 0.110 122.8);
Tailwind
colors: {
  custom: {
    50: '#8c995f',
    500: '#5b701d',
    950: '#000000',
  },
}
SCSS
$custom: #5b701d;
$custom-light: #8c995f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b701d",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 75.181,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.10983,
    "h": 122.8
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#5B701D
secondary
#5D44A4
accent
#46E26D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5B701D

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

Preview Lab → · Contrast checker → · Palette generator →

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