#5D7323#5D7323

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

Color values

HEX#5D7323
RGBrgb(93, 115, 35)
HSLhsl(77, 53%, 29%)
HSVhsv(77, 70%, 45%)
CMYKcmyk(19.1%, 0%, 69.6%, 54.9%)
CIE-LABlab(45.23, -20.66, 39.92)
CIE-LCHlch(45.23, 44.95, 117.36°)
OKLaboklab(52.08% -0.0597 0.0905)
OKLCHoklch(52.08% 0.108 123.4)
XYZxyz(10.9484, 14.7099, 3.8523)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7323 #392373
analogous
#736123 #5D7323 #357323
triadic
#5D7323 #235D73 #73235D
tetradic
#5D7323 #237361 #392373 #732335
square
#5D7323 #237361 #392373 #732335
split-complementary
#5D7323 #233573 #612373
monochromatic
#131707 #374415 #5D7323 #83A231 #A5C849

Accessibility & contrast

On white

5.33
#5D7323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5D7323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7323
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7323#FFFFFF#000000##FFFFFF
##5D73231.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C18
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#626D63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7323;
/* rgb */ color: rgb(93, 115, 35);
/* oklch */ color: oklch(52.1% 0.108 123.4);
Tailwind
colors: {
  custom: {
    50: '#8d9b63',
    500: '#5d7323',
    950: '#000000',
  },
}
SCSS
$custom: #5d7323;
$custom-light: #8d9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7323",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 76.5,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.10843,
    "h": 123.4
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#5D7323
secondary
#654CA6
accent
#4BDD73
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5D7323

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

Preview Lab → · Contrast checker → · Palette generator →

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