#5D702D#5D702D

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

Color values

HEX#5D702D
RGBrgb(93, 112, 45)
HSLhsl(77, 43%, 31%)
HSVhsv(77, 60%, 44%)
CMYKcmyk(17%, 0%, 59.8%, 56.1%)
CIE-LABlab(44.38, -18.23, 34.27)
CIE-LCHlch(44.38, 38.81, 118.01°)
OKLaboklab(51.43% -0.0519 0.0799)
OKLCHoklch(51.43% 0.095 123)
XYZxyz(10.7821, 14.1049, 4.6366)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D702D #402D70
analogous
#70612D #5D702D #3B702D
triadic
#5D702D #2D5D70 #702D5D
tetradic
#5D702D #2D7061 #402D70 #702D3B
square
#5D702D #2D7061 #402D70 #702D3B
split-complementary
#5D702D #2D3B70 #612D70
monochromatic
#14190A #39441B #5D702D #819C3F #A1BD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D702D#FFFFFF#000000##FFFFFF
##5D702D1.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)
#766926
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#616B61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d702d;
/* rgb */ color: rgb(93, 112, 45);
/* oklch */ color: oklch(51.4% 0.095 123.0);
Tailwind
colors: {
  custom: {
    50: '#8d9968',
    500: '#5d702d',
    950: '#000000',
  },
}
SCSS
$custom: #5d702d;
$custom-light: #8d9968;
$custom-dark: #000000;
JSON
{
  "hex": "#5d702d",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 77.015,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.09529,
    "h": 123
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#5D702D
secondary
#6C57A2
accent
#55D279
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5D702D

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

Preview Lab → · Contrast checker → · Palette generator →

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