#5D7823#5D7823

#5D7823 is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.4% C 0.115 H 125.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5D7823
RGBrgb(93, 120, 35)
HSLhsl(79, 55%, 30%)
HSVhsv(79, 71%, 47%)
CMYKcmyk(22.5%, 0%, 70.8%, 52.9%)
CIE-LABlab(46.82, -23.23, 41.56)
CIE-LCHlch(46.82, 47.61, 119.20°)
OKLaboklab(53.36% -0.0668 0.094)
OKLCHoklch(53.36% 0.115 125.4)
XYZxyz(11.5341, 15.8813, 4.0475)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7823 #3E2378
analogous
#786823 #5D7823 #327823
triadic
#5D7823 #235D78 #78235D
tetradic
#5D7823 #237868 #3E2378 #782332
square
#5D7823 #237868 #3E2378 #782332
split-complementary
#5D7823 #233278 #682378
monochromatic
#141907 #384915 #5D7823 #82A731 #A2CA4B

Accessibility & contrast

On white

5.03
#5D7823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5D7823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7823
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7823#FFFFFF#000000##FFFFFF
##5D78231.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7016
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#617267
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d7823;
/* rgb */ color: rgb(93, 120, 35);
/* oklch */ color: oklch(53.4% 0.115 125.4);
Tailwind
colors: {
  custom: {
    50: '#8e9f63',
    500: '#5d7823',
    950: '#000000',
  },
}
SCSS
$custom: #5d7823;
$custom-light: #8e9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7823",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 79.059,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.11528,
    "h": 125.4
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#5D7823
secondary
#6A4CAB
accent
#4ADE79
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5D7823

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

Preview Lab → · Contrast checker → · Palette generator →

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