#5D7328#5D7328

#5D7328 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.1% C 0.104 H 123.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5D7328
RGBrgb(93, 115, 40)
HSLhsl(78, 48%, 30%)
HSVhsv(78, 65%, 45%)
CMYKcmyk(19.1%, 0%, 65.2%, 54.9%)
CIE-LABlab(45.28, -20.26, 37.70)
CIE-LCHlch(45.28, 42.80, 118.26°)
OKLaboklab(52.13% -0.0581 0.0866)
OKLCHoklch(52.13% 0.104 123.9)
XYZxyz(11.0280, 14.7418, 4.2715)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7328 #3E2873
analogous
#736328 #5D7328 #377328
triadic
#5D7328 #285D73 #73285D
tetradic
#5D7328 #287363 #3E2873 #732837
square
#5D7328 #287363 #3E2873 #732837
split-complementary
#5D7328 #283773 #632873
monochromatic
#141808 #384618 #5D7328 #82A038 #A2C352

Accessibility & contrast

On white

5.32
#5D7328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5D7328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7328
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7328#FFFFFF#000000##FFFFFF
##5D73281.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C1F
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#616D63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7328;
/* rgb */ color: rgb(93, 115, 40);
/* oklch */ color: oklch(52.1% 0.104 123.9);
Tailwind
colors: {
  custom: {
    50: '#8d9b66',
    500: '#5d7328',
    950: '#000000',
  },
}
SCSS
$custom: #5d7328;
$custom-light: #8d9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7328",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 77.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.10425,
    "h": 123.9
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#5D7328
secondary
#6A52A5
accent
#50D878
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D7328

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

Preview Lab → · Contrast checker → · Palette generator →

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