#5F7314#5F7314

#5F7314 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.1% C 0.117 H 121.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5F7314
RGBrgb(95, 115, 20)
HSLhsl(73, 70%, 26%)
HSVhsv(73, 83%, 45%)
CMYKcmyk(17.4%, 0%, 82.6%, 54.9%)
CIE-LABlab(45.28, -20.66, 45.73)
CIE-LCHlch(45.28, 50.18, 114.31°)
OKLaboklab(52.13% -0.0612 0.1001)
OKLCHoklch(52.13% 0.117 121.5)
XYZxyz(10.9765, 14.7449, 2.9295)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7314 #281473
analogous
#735814 #5F7314 #307314
triadic
#5F7314 #145F73 #73145F
tetradic
#5F7314 #147358 #281473 #731430
square
#5F7314 #147358 #281473 #731430
split-complementary
#5F7314 #143073 #581473
monochromatic
#161A05 #343F0B #5F7314 #8AA71D #B4DA28

Accessibility & contrast

On white

5.32
#5F7314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5F7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7314
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7314#FFFFFF#000000##FFFFFF
##5F73141.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#656D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f7314;
/* rgb */ color: rgb(95, 115, 20);
/* oklch */ color: oklch(52.1% 0.117 121.5);
Tailwind
colors: {
  custom: {
    50: '#909b5b',
    500: '#5f7314',
    950: '#000000',
  },
}
SCSS
$custom: #5f7314;
$custom-light: #909b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7314",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 72.632,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.11731,
    "h": 121.5
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#5F7314
secondary
#513AA9
accent
#3BED60
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7314

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

Preview Lab → · Contrast checker → · Palette generator →

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