#5D701F#5D701F

#5D701F is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.3% C 0.107 H 121.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5D701F
RGBrgb(93, 112, 31)
HSLhsl(74, 57%, 28%)
HSVhsv(74, 72%, 44%)
CMYKcmyk(17%, 0%, 72.3%, 56.1%)
CIE-LABlab(44.25, -19.38, 40.63)
CIE-LCHlch(44.25, 45.01, 115.50°)
OKLaboklab(51.28% -0.0566 0.0914)
OKLCHoklch(51.28% 0.107 121.8)
XYZxyz(10.5558, 14.0144, 3.4450)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D701F #321F70
analogous
#705A1F #5D701F #34701F
triadic
#5D701F #1F5D70 #701F5D
tetradic
#5D701F #1F705A #321F70 #701F34
square
#5D701F #1F705A #321F70 #701F34
split-complementary
#5D701F #1F3470 #5A1F70
monochromatic
#141807 #354012 #5D701F #85A02C #A9CA3F

Accessibility & contrast

On white

5.52
#5D701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5D701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D701F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D701F#FFFFFF#000000##FFFFFF
##5D701F1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#626A60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d701f;
/* rgb */ color: rgb(93, 112, 31);
/* oklch */ color: oklch(51.3% 0.107 121.8);
Tailwind
colors: {
  custom: {
    50: '#8d9960',
    500: '#5d701f',
    950: '#000000',
  },
}
SCSS
$custom: #5d701f;
$custom-light: #8d9960;
$custom-dark: #000000;
JSON
{
  "hex": "#5d701f",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 74.074,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.10745,
    "h": 121.8
  },
  "luminance": 0.14014
}

Semantic roles & 50–950 ramp

primary
#5D701F
secondary
#5D47A4
accent
#48E06C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5D701F

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

Preview Lab → · Contrast checker → · Palette generator →

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