#5D7E27#5D7E27

#5D7E27 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.120 H 127.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5D7E27
RGBrgb(93, 126, 39)
HSLhsl(83, 53%, 32%)
HSVhsv(83, 69%, 49%)
CMYKcmyk(26.2%, 0%, 69%, 50.6%)
CIE-LABlab(48.75, -25.92, 41.86)
CIE-LCHlch(48.75, 49.23, 121.77°)
OKLaboklab(54.94% -0.0738 0.0952)
OKLCHoklch(54.94% 0.12 127.8)
XYZxyz(12.3413, 17.3951, 4.6264)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E27 #48277E
analogous
#7E7427 #5D7E27 #317E27
triadic
#5D7E27 #275D7E #7E275D
tetradic
#5D7E27 #277E74 #48277E #7E2731
square
#5D7E27 #277E74 #48277E #7E2731
split-complementary
#5D7E27 #27317E #74277E
monochromatic
#18210A #3B4F19 #5D7E27 #7FAD35 #9ECA55

Accessibility & contrast

On white

4.69
#5D7E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5D7E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E27
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E27#FFFFFF#000000##FFFFFF
##5D7E271.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751B
Deuteranopia (green-blind)
#80732E
Tritanopia (blue-blind)
#60786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e27;
/* rgb */ color: rgb(93, 126, 39);
/* oklch */ color: oklch(54.9% 0.120 127.8);
Tailwind
colors: {
  custom: {
    50: '#8ea366',
    500: '#5d7e27',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e27;
$custom-light: #8ea366;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e27",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 82.759,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5494,
    "c": 0.12047,
    "h": 127.8
  },
  "luminance": 0.17395
}

Semantic roles & 50–950 ramp

primary
#5D7E27
secondary
#7552AF
accent
#4CDC82
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5D7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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