#5F701F#5F701F

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

Color values

HEX#5F701F
RGBrgb(95, 112, 31)
HSLhsl(73, 57%, 28%)
HSVhsv(73, 72%, 44%)
CMYKcmyk(15.2%, 0%, 72.3%, 56.1%)
CIE-LABlab(44.40, -18.48, 40.83)
CIE-LCHlch(44.40, 44.82, 114.35°)
OKLaboklab(51.44% -0.0542 0.0917)
OKLCHoklch(51.44% 0.107 120.6)
XYZxyz(10.7610, 14.1202, 3.4546)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F701F #301F70
analogous
#70581F #5F701F #36701F
triadic
#5F701F #1F5F70 #701F5F
tetradic
#5F701F #1F7058 #301F70 #701F36
square
#5F701F #1F7058 #301F70 #701F36
split-complementary
#5F701F #1F3670 #581F70
monochromatic
#141807 #364012 #5F701F #88A02C #ADCA3F

Accessibility & contrast

On white

5.49
#5F701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F701F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F701F#FFFFFF#000000##FFFFFF
##5F701F1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f701f;
/* rgb */ color: rgb(95, 112, 31);
/* oklch */ color: oklch(51.4% 0.107 120.6);
Tailwind
colors: {
  custom: {
    50: '#8f9960',
    500: '#5f701f',
    950: '#000000',
  },
}
SCSS
$custom: #5f701f;
$custom-light: #8f9960;
$custom-dark: #000000;
JSON
{
  "hex": "#5f701f",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 72.593,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51441,
    "c": 0.10656,
    "h": 120.6
  },
  "luminance": 0.1412
}

Semantic roles & 50–950 ramp

primary
#5F701F
secondary
#5A47A4
accent
#48E068
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #5F701F

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

Preview Lab → · Contrast checker → · Palette generator →

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