#5F701A#5F701A

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

Color values

HEX#5F701A
RGBrgb(95, 112, 26)
HSLhsl(72, 62%, 27%)
HSVhsv(72, 77%, 44%)
CMYKcmyk(15.2%, 0%, 76.8%, 56.1%)
CIE-LABlab(44.37, -18.79, 42.79)
CIE-LCHlch(44.37, 46.74, 113.70°)
OKLaboklab(51.4% -0.0555 0.095)
OKLCHoklch(51.4% 0.11 120.3)
XYZxyz(10.7001, 14.0959, 3.1342)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F701A #2B1A70
analogous
#70561A #5F701A #34701A
triadic
#5F701A #1A5F70 #701A5F
tetradic
#5F701A #1A7056 #2B1A70 #701A34
square
#5F701A #1A7056 #2B1A70 #701A34
split-complementary
#5F701A #1A3470 #561A70
monochromatic
#151906 #353E0E #5F701A #89A226 #B1D034

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F701A#FFFFFF#000000##FFFFFF
##5F701A1.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)
#776909
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#656A60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f701a;
/* rgb */ color: rgb(95, 112, 26);
/* oklch */ color: oklch(51.4% 0.110 120.3);
Tailwind
colors: {
  custom: {
    50: '#8f995e',
    500: '#5f701a',
    950: '#000000',
  },
}
SCSS
$custom: #5f701a;
$custom-light: #8f995e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f701a",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 71.86,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.11002,
    "h": 120.3
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#5F701A
secondary
#5541A5
accent
#42E563
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #5F701A

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

Preview Lab → · Contrast checker → · Palette generator →

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