#5D7334#5D7334

#5D7334 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.3% C 0.093 H 125.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D7334
RGBrgb(93, 115, 52)
HSLhsl(81, 38%, 33%)
HSVhsv(81, 55%, 45%)
CMYKcmyk(19.1%, 0%, 54.8%, 54.9%)
CIE-LABlab(45.41, -19.09, 31.86)
CIE-LCHlch(45.41, 37.15, 120.93°)
OKLaboklab(52.28% -0.0537 0.0754)
OKLCHoklch(52.28% 0.093 125.4)
XYZxyz(11.2648, 14.8364, 5.5184)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7334 #4A3473
analogous
#736934 #5D7334 #3D7334
triadic
#5D7334 #345D73 #73345D
tetradic
#5D7334 #347369 #4A3473 #73343D
square
#5D7334 #347369 #4A3473 #73343D
split-complementary
#5D7334 #343D73 #693473
monochromatic
#191F0E #3B4921 #5D7334 #7F9D47 #9DBA67

Accessibility & contrast

On white

5.29
#5D7334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5D7334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7334
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7334#FFFFFF#000000##FFFFFF
##5D73341.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2E
Deuteranopia (green-blind)
#766B38
Tritanopia (blue-blind)
#606E65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7334;
/* rgb */ color: rgb(93, 115, 52);
/* oklch */ color: oklch(52.3% 0.093 125.4);
Tailwind
colors: {
  custom: {
    50: '#8c9b6d',
    500: '#5d7334',
    950: '#000000',
  },
}
SCSS
$custom: #5d7334;
$custom-light: #8c9b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7334",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 52
  },
  "hsl": {
    "h": 80.952,
    "s": 37.725,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.09258,
    "h": 125.4
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#5D7334
secondary
#7760A3
accent
#5ACE82
background
#F8F9F6
surface
#F0F2EC
border
#CBCCC7
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5D7334

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

Preview Lab → · Contrast checker → · Palette generator →

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