#5F701E#5F701E

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

Color values

HEX#5F701E
RGBrgb(95, 112, 30)
HSLhsl(72, 58%, 28%)
HSVhsv(72, 73%, 44%)
CMYKcmyk(15.2%, 0%, 73.2%, 56.1%)
CIE-LABlab(44.40, -18.55, 41.24)
CIE-LCHlch(44.40, 45.22, 114.22°)
OKLaboklab(51.43% -0.0545 0.0924)
OKLCHoklch(51.43% 0.107 120.5)
XYZxyz(10.7480, 14.1150, 3.3863)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F701E #2F1E70
analogous
#70581E #5F701E #36701E
triadic
#5F701E #1E5F70 #701E5F
tetradic
#5F701E #1E7058 #2F1E70 #701E36
square
#5F701E #1E7058 #2F1E70 #701E36
split-complementary
#5F701E #1E3670 #581E70
monochromatic
#141806 #364011 #5F701E #88A02B #AECB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F701E#FFFFFF#000000##FFFFFF
##5F701E1.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)
#776911
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#656A60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f701e;
/* rgb */ color: rgb(95, 112, 30);
/* oklch */ color: oklch(51.4% 0.107 120.5);
Tailwind
colors: {
  custom: {
    50: '#8f9960',
    500: '#5f701e',
    950: '#000000',
  },
}
SCSS
$custom: #5f701e;
$custom-light: #8f9960;
$custom-dark: #000000;
JSON
{
  "hex": "#5f701e",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 72.439,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.10728,
    "h": 120.5
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#5F701E
secondary
#5946A4
accent
#47E167
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #5F701E

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

Preview Lab → · Contrast checker → · Palette generator →

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