#5B7723#5B7723

#5B7723 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 53.0% C 0.115 H 126.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5B7723
RGBrgb(91, 119, 35)
HSLhsl(80, 55%, 30%)
HSVhsv(80, 71%, 47%)
CMYKcmyk(23.5%, 0%, 70.6%, 53.3%)
CIE-LABlab(46.36, -23.57, 41.05)
CIE-LCHlch(46.36, 47.33, 119.87°)
OKLaboklab(52.96% -0.0676 0.0929)
OKLCHoklch(52.96% 0.115 126)
XYZxyz(11.2146, 15.5390, 3.9983)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7723 #3F2377
analogous
#776923 #5B7723 #317723
triadic
#5B7723 #235B77 #77235B
tetradic
#5B7723 #237769 #3F2377 #772331
square
#5B7723 #237769 #3F2377 #772331
split-complementary
#5B7723 #233177 #692377
monochromatic
#131807 #374815 #5B7723 #7FA631 #9FCA4A

Accessibility & contrast

On white

5.11
#5B7723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5B7723 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7723
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7723#FFFFFF#000000##FFFFFF
##5B77231.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F17
Deuteranopia (green-blind)
#7A6D2A
Tritanopia (blue-blind)
#5F7166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b7723;
/* rgb */ color: rgb(91, 119, 35);
/* oklch */ color: oklch(53.0% 0.115 126.0);
Tailwind
colors: {
  custom: {
    50: '#8c9e63',
    500: '#5b7723',
    950: '#000000',
  },
}
SCSS
$custom: #5b7723;
$custom-light: #8c9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7723",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 35
  },
  "hsl": {
    "h": 80,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.11492,
    "h": 126
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#5B7723
secondary
#6B4CAA
accent
#4ADE7B
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5B7723

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

Preview Lab → · Contrast checker → · Palette generator →

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