#5F700F#5F700F

#5F700F is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.3% C 0.116 H 119.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5F700F
RGBrgb(95, 112, 15)
HSLhsl(71, 76%, 25%)
HSVhsv(71, 87%, 44%)
CMYKcmyk(15.2%, 0%, 86.6%, 56.1%)
CIE-LABlab(44.31, -19.30, 46.35)
CIE-LCHlch(44.31, 50.20, 112.61°)
OKLaboklab(51.34% -0.0578 0.1005)
OKLCHoklch(51.34% 0.116 119.9)
XYZxyz(10.5999, 14.0558, 2.6065)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F700F #200F70
analogous
#70500F #5F700F #2F700F
triadic
#5F700F #0F5F70 #700F5F
tetradic
#5F700F #0F7050 #200F70 #700F2F
square
#5F700F #0F7050 #200F70 #700F2F
split-complementary
#5F700F #0F2F70 #500F70
monochromatic
#171B04 #313A08 #5F700F #8DA616 #BBDC1D

Accessibility & contrast

On white

5.51
#5F700F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5F700F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F700F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F700F#FFFFFF#000000##FFFFFF
##5F700F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#76691A
Tritanopia (blue-blind)
#65695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f700f;
/* rgb */ color: rgb(95, 112, 15);
/* oklch */ color: oklch(51.3% 0.116 119.9);
Tailwind
colors: {
  custom: {
    50: '#909959',
    500: '#5f700f',
    950: '#000000',
  },
}
SCSS
$custom: #5f700f;
$custom-light: #909959;
$custom-dark: #000000;
JSON
{
  "hex": "#5f700f",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 15
  },
  "hsl": {
    "h": 70.515,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.51337,
    "c": 0.11595,
    "h": 119.9
  },
  "luminance": 0.14056
}

Semantic roles & 50–950 ramp

primary
#5F700F
secondary
#4733A8
accent
#35F356
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F700F

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

Preview Lab → · Contrast checker → · Palette generator →

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