#5B701E#5B701E

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

Color values

HEX#5B701E
RGBrgb(91, 112, 30)
HSLhsl(75, 58%, 28%)
HSVhsv(75, 73%, 44%)
CMYKcmyk(18.7%, 0%, 73.2%, 56.1%)
CIE-LABlab(44.10, -20.33, 40.84)
CIE-LCHlch(44.10, 45.62, 116.47°)
OKLaboklab(51.12% -0.0592 0.0917)
OKLCHoklch(51.12% 0.109 122.8)
XYZxyz(10.3430, 13.9062, 3.3673)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B701E #331E70
analogous
#705C1E #5B701E #32701E
triadic
#5B701E #1E5B70 #701E5B
tetradic
#5B701E #1E705C #331E70 #701E32
square
#5B701E #1E705C #331E70 #701E32
split-complementary
#5B701E #1E3270 #5C1E70
monochromatic
#141806 #344011 #5B701E #82A02B #A7CB3D

Accessibility & contrast

On white

5.55
#5B701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B701E
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B701E#FFFFFF#000000##FFFFFF
##5B701E1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776911
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#606A60
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b701e;
/* rgb */ color: rgb(91, 112, 30);
/* oklch */ color: oklch(51.1% 0.109 122.8);
Tailwind
colors: {
  custom: {
    50: '#8c9960',
    500: '#5b701e',
    950: '#000000',
  },
}
SCSS
$custom: #5b701e;
$custom-light: #8c9960;
$custom-dark: #000000;
JSON
{
  "hex": "#5b701e",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 75.366,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.10912,
    "h": 122.8
  },
  "luminance": 0.13906
}

Semantic roles & 50–950 ramp

primary
#5B701E
secondary
#5E46A4
accent
#47E16E
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5B701E

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

Preview Lab → · Contrast checker → · Palette generator →

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