#5D7948#5D7948

#5D7948 is a mid, moderate yellow-green. Relative luminance 0.165; OKLCH L 54.1% C 0.079 H 132.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5D7948
RGBrgb(93, 121, 72)
HSLhsl(94, 25%, 38%)
HSVhsv(94, 40%, 47%)
CMYKcmyk(23.1%, 0%, 40.5%, 52.5%)
CIE-LABlab(47.58, -19.66, 23.66)
CIE-LCHlch(47.58, 30.76, 129.73°)
OKLaboklab(54.13% -0.0538 0.0583)
OKLCHoklch(54.13% 0.079 132.7)
XYZxyz(12.5210, 16.4695, 8.6489)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7948 #644879
analogous
#757948 #5D7948 #48794B
triadic
#5D7948 #485D79 #79485D
tetradic
#5D7948 #487579 #644879 #794B48
square
#5D7948 #487579 #644879 #794B48
split-complementary
#5D7948 #4B4879 #794875
monochromatic
#222C1A #405331 #5D7948 #7A9F5F #9AB685

Accessibility & contrast

On white

4.89
#5D7948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5D7948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7948
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7948#FFFFFF#000000##FFFFFF
##5D79481.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7244
Deuteranopia (green-blind)
#79704B
Tritanopia (blue-blind)
#5E756D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d7948;
/* rgb */ color: rgb(93, 121, 72);
/* oklch */ color: oklch(54.1% 0.079 132.7);
Tailwind
colors: {
  custom: {
    50: '#8c9f7b',
    500: '#5d7948',
    950: '#000000',
  },
}
SCSS
$custom: #5d7948;
$custom-light: #8c9f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7948",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 94.286,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.07934,
    "h": 132.7
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#5D7948
secondary
#917AA2
accent
#66C29A
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0E09
muted
#7D7E7B

Preview Lab

Preview with #5D7948

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

Preview Lab → · Contrast checker → · Palette generator →

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