#5D8523#5D8523

#5D8523 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.7% C 0.133 H 129.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5D8523
RGBrgb(93, 133, 35)
HSLhsl(84, 58%, 33%)
HSVhsv(84, 74%, 52%)
CMYKcmyk(30.1%, 0%, 73.7%, 47.8%)
CIE-LABlab(50.95, -29.60, 45.75)
CIE-LCHlch(50.95, 54.49, 122.91°)
OKLaboklab(56.71% -0.0842 0.1027)
OKLCHoklch(56.71% 0.133 129.4)
XYZxyz(13.2051, 19.2232, 4.6045)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8523 #4B2385
analogous
#857C23 #5D8523 #2C8523
triadic
#5D8523 #235D85 #85235D
tetradic
#5D8523 #23857C #4B2385 #85232C
square
#5D8523 #23857C #4B2385 #85232C
split-complementary
#5D8523 #232C85 #7C2385
monochromatic
#192409 #3B5516 #5D8523 #7FB530 #9DD151

Accessibility & contrast

On white

4.33
#5D8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5D8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8523
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8523#FFFFFF#000000##000000
##5D85231.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B12
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#607F72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d8523;
/* rgb */ color: rgb(93, 133, 35);
/* oklch */ color: oklch(56.7% 0.133 129.4);
Tailwind
colors: {
  custom: {
    50: '#8ea865',
    500: '#5d8523',
    950: '#000000',
  },
}
SCSS
$custom: #5d8523;
$custom-light: #8ea865;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8523",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 84.49,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.13287,
    "h": 129.4
  },
  "luminance": 0.19224
}

Semantic roles & 50–950 ramp

primary
#5D8523
secondary
#794FB5
accent
#46E286
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5D8523

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

Preview Lab → · Contrast checker → · Palette generator →

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