#5F7014#5F7014

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

Color values

HEX#5F7014
RGBrgb(95, 112, 20)
HSLhsl(71, 70%, 26%)
HSVhsv(71, 82%, 44%)
CMYKcmyk(15.2%, 0%, 82.1%, 56.1%)
CIE-LABlab(44.34, -19.09, 44.87)
CIE-LCHlch(44.34, 48.77, 113.05°)
OKLaboklab(51.36% -0.0569 0.0983)
OKLCHoklch(51.36% 0.114 120.1)
XYZxyz(10.6400, 14.0718, 2.8173)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7014 #251470
analogous
#705314 #5F7014 #317014
triadic
#5F7014 #145F70 #70145F
tetradic
#5F7014 #147053 #251470 #701431
square
#5F7014 #147053 #251470 #701431
split-complementary
#5F7014 #143170 #531470
monochromatic
#161A05 #333C0B #5F7014 #8BA41D #B7D827

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7014#FFFFFF#000000##FFFFFF
##5F70141.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)
#76691D
Tritanopia (blue-blind)
#656A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f7014;
/* rgb */ color: rgb(95, 112, 20);
/* oklch */ color: oklch(51.4% 0.114 120.1);
Tailwind
colors: {
  custom: {
    50: '#8f995b',
    500: '#5f7014',
    950: '#000000',
  },
}
SCSS
$custom: #5f7014;
$custom-light: #8f995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7014",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 71.087,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.11355,
    "h": 120.1
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#5F7014
secondary
#4D39A6
accent
#3BED5C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F7014

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

Preview Lab → · Contrast checker → · Palette generator →

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