#5D7326#5D7326

#5D7326 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.1% C 0.106 H 123.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5D7326
RGBrgb(93, 115, 38)
HSLhsl(77, 50%, 30%)
HSVhsv(77, 67%, 45%)
CMYKcmyk(19.1%, 0%, 67%, 54.9%)
CIE-LABlab(45.26, -20.43, 38.60)
CIE-LCHlch(45.26, 43.67, 117.89°)
OKLaboklab(52.11% -0.0588 0.0882)
OKLCHoklch(52.11% 0.106 123.7)
XYZxyz(10.9949, 14.7285, 4.0970)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7326 #3C2673
analogous
#736326 #5D7326 #367326
triadic
#5D7326 #265D73 #73265D
tetradic
#5D7326 #267363 #3C2673 #732636
square
#5D7326 #267363 #3C2673 #732636
split-complementary
#5D7326 #263673 #632673
monochromatic
#131708 #384517 #5D7326 #82A135 #A3C54F

Accessibility & contrast

On white

5.32
#5D7326 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5D7326 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7326
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7326#FFFFFF#000000##FFFFFF
##5D73261.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1C
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#616D63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7326;
/* rgb */ color: rgb(93, 115, 38);
/* oklch */ color: oklch(52.1% 0.106 123.7);
Tailwind
colors: {
  custom: {
    50: '#8d9b64',
    500: '#5d7326',
    950: '#000000',
  },
}
SCSS
$custom: #5d7326;
$custom-light: #8d9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7326",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 38
  },
  "hsl": {
    "h": 77.143,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.10598,
    "h": 123.7
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#5D7326
secondary
#684FA6
accent
#4EDA76
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D7326

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

Preview Lab → · Contrast checker → · Palette generator →

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