#5D7523#5D7523

#5D7523 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.111 H 124.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5D7523
RGBrgb(93, 117, 35)
HSLhsl(78, 54%, 30%)
HSVhsv(78, 70%, 46%)
CMYKcmyk(20.5%, 0%, 70.1%, 54.1%)
CIE-LABlab(45.87, -21.69, 40.58)
CIE-LCHlch(45.87, 46.01, 118.13°)
OKLaboklab(52.59% -0.0626 0.0919)
OKLCHoklch(52.59% 0.111 124.2)
XYZxyz(11.1790, 15.1710, 3.9291)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7523 #3B2375
analogous
#756423 #5D7523 #347523
triadic
#5D7523 #235D75 #75235D
tetradic
#5D7523 #237564 #3B2375 #752334
square
#5D7523 #237564 #3B2375 #752334
split-complementary
#5D7523 #233475 #642375
monochromatic
#131807 #384615 #5D7523 #82A431 #A4C94A

Accessibility & contrast

On white

5.21
#5D7523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5D7523 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7523
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7523#FFFFFF#000000##FFFFFF
##5D75231.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D17
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#616F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d7523;
/* rgb */ color: rgb(93, 117, 35);
/* oklch */ color: oklch(52.6% 0.111 124.2);
Tailwind
colors: {
  custom: {
    50: '#8d9c63',
    500: '#5d7523',
    950: '#000000',
  },
}
SCSS
$custom: #5d7523;
$custom-light: #8d9c63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7523",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 35
  },
  "hsl": {
    "h": 77.561,
    "s": 53.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52593,
    "c": 0.11118,
    "h": 124.2
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#5D7523
secondary
#674CA8
accent
#4ADD75
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5D7523

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

Preview Lab → · Contrast checker → · Palette generator →

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