#5D7223#5D7223

#5D7223 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.8% C 0.107 H 123.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5D7223
RGBrgb(93, 114, 35)
HSLhsl(76, 53%, 29%)
HSVhsv(76, 69%, 45%)
CMYKcmyk(18.4%, 0%, 69.3%, 55.3%)
CIE-LABlab(44.92, -20.14, 39.59)
CIE-LCHlch(44.92, 44.42, 116.96°)
OKLaboklab(51.83% -0.0583 0.0898)
OKLCHoklch(51.83% 0.107 123)
XYZxyz(10.8350, 14.4831, 3.8145)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7223 #382372
analogous
#726023 #5D7223 #367223
triadic
#5D7223 #235D72 #72235D
tetradic
#5D7223 #237260 #382372 #722336
square
#5D7223 #237260 #382372 #722336
split-complementary
#5D7223 #233672 #602372
monochromatic
#131707 #374315 #5D7223 #83A131 #A5C748

Accessibility & contrast

On white

5.39
#5D7223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5D7223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7223
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7223#FFFFFF#000000##FFFFFF
##5D72231.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B18
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#626C62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d7223;
/* rgb */ color: rgb(93, 114, 35);
/* oklch */ color: oklch(51.8% 0.107 123.0);
Tailwind
colors: {
  custom: {
    50: '#8d9a63',
    500: '#5d7223',
    950: '#000000',
  },
}
SCSS
$custom: #5d7223;
$custom-light: #8d9a63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7223",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 75.949,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.10707,
    "h": 123
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#5D7223
secondary
#634CA5
accent
#4BDC72
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5D7223

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

Preview Lab → · Contrast checker → · Palette generator →

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