#5D7923#5D7923

#5D7923 is a mid, moderate yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.117 H 125.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5D7923
RGBrgb(93, 121, 35)
HSLhsl(80, 55%, 31%)
HSVhsv(80, 71%, 47%)
CMYKcmyk(23.1%, 0%, 71.1%, 52.5%)
CIE-LABlab(47.14, -23.73, 41.89)
CIE-LCHlch(47.14, 48.14, 119.53°)
OKLaboklab(53.62% -0.0682 0.0946)
OKLCHoklch(53.62% 0.117 125.8)
XYZxyz(11.6550, 16.1231, 4.0878)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7923 #3F2379
analogous
#796A23 #5D7923 #327923
triadic
#5D7923 #235D79 #79235D
tetradic
#5D7923 #23796A #3F2379 #792332
square
#5D7923 #23796A #3F2379 #792332
split-complementary
#5D7923 #233279 #6A2379
monochromatic
#141A08 #394A15 #5D7923 #81A831 #A1CB4B

Accessibility & contrast

On white

4.97
#5D7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5D7923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7923
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7923#FFFFFF#000000##FFFFFF
##5D79231.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807116
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#617368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d7923;
/* rgb */ color: rgb(93, 121, 35);
/* oklch */ color: oklch(53.6% 0.117 125.8);
Tailwind
colors: {
  custom: {
    50: '#8e9f63',
    500: '#5d7923',
    950: '#000000',
  },
}
SCSS
$custom: #5d7923;
$custom-light: #8e9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7923",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 79.535,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53619,
    "c": 0.11664,
    "h": 125.8
  },
  "luminance": 0.16123
}

Semantic roles & 50–950 ramp

primary
#5D7923
secondary
#6B4CAC
accent
#49DE7A
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D7923

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

Preview Lab → · Contrast checker → · Palette generator →

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