#5D7D23#5D7D23

#5D7D23 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.122 H 127.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5D7D23
RGBrgb(93, 125, 35)
HSLhsl(81, 56%, 31%)
HSVhsv(81, 72%, 49%)
CMYKcmyk(25.6%, 0%, 72%, 51%)
CIE-LABlab(48.41, -25.73, 43.18)
CIE-LCHlch(48.41, 50.27, 120.78°)
OKLaboklab(54.65% -0.0737 0.0974)
OKLCHoklch(54.65% 0.122 127.1)
XYZxyz(12.1512, 17.1155, 4.2532)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D23 #43237D
analogous
#7D7023 #5D7D23 #307D23
triadic
#5D7D23 #235D7D #7D235D
tetradic
#5D7D23 #237D70 #43237D #7D2330
square
#5D7D23 #237D70 #43237D #7D2330
split-complementary
#5D7D23 #23307D #70237D
monochromatic
#161D08 #394D16 #5D7D23 #81AD30 #A0CD4D

Accessibility & contrast

On white

4.75
#5D7D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5D7D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D23
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D23#FFFFFF#000000##FFFFFF
##5D7D231.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847415
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#61776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d23;
/* rgb */ color: rgb(93, 125, 35);
/* oklch */ color: oklch(54.6% 0.122 127.1);
Tailwind
colors: {
  custom: {
    50: '#8ea264',
    500: '#5d7d23',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d23;
$custom-light: #8ea264;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d23",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 81.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.12209,
    "h": 127.1
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#5D7D23
secondary
#704CAF
accent
#48E07E
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5D7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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