#5D702A#5D702A

#5D702A is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.4% C 0.098 H 122.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5D702A
RGBrgb(93, 112, 42)
HSLhsl(76, 45%, 30%)
HSVhsv(76, 63%, 44%)
CMYKcmyk(17%, 0%, 62.5%, 56.1%)
CIE-LABlab(44.35, -18.51, 35.72)
CIE-LCHlch(44.35, 40.23, 117.39°)
OKLaboklab(51.39% -0.053 0.0826)
OKLCHoklch(51.39% 0.098 122.7)
XYZxyz(10.7264, 14.0826, 4.3432)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D702A #3D2A70
analogous
#70602A #5D702A #3A702A
triadic
#5D702A #2A5D70 #702A5D
tetradic
#5D702A #2A7060 #3D2A70 #702A3A
square
#5D702A #2A7060 #3D2A70 #702A3A
split-complementary
#5D702A #2A3A70 #602A70
monochromatic
#131709 #384319 #5D702A #829D3B #A2BF55

Accessibility & contrast

On white

5.50
#5D702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5D702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D702A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D702A#FFFFFF#000000##FFFFFF
##5D702A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766922
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#626B61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d702a;
/* rgb */ color: rgb(93, 112, 42);
/* oklch */ color: oklch(51.4% 0.098 122.7);
Tailwind
colors: {
  custom: {
    50: '#8d9967',
    500: '#5d702a',
    950: '#000000',
  },
}
SCSS
$custom: #5d702a;
$custom-light: #8d9967;
$custom-dark: #000000;
JSON
{
  "hex": "#5d702a",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 76.286,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.09818,
    "h": 122.7
  },
  "luminance": 0.14083
}

Semantic roles & 50–950 ramp

primary
#5D702A
secondary
#6954A2
accent
#53D576
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5D702A

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

Preview Lab → · Contrast checker → · Palette generator →

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