#5F7414#5F7414

#5F7414 is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.4% C 0.119 H 121.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5F7414
RGBrgb(95, 116, 20)
HSLhsl(73, 71%, 27%)
HSVhsv(73, 83%, 45%)
CMYKcmyk(18.1%, 0%, 82.8%, 54.5%)
CIE-LABlab(45.60, -21.18, 46.02)
CIE-LCHlch(45.60, 50.66, 114.71°)
OKLaboklab(52.38% -0.0626 0.1007)
OKLCHoklch(52.38% 0.119 121.9)
XYZxyz(11.0912, 14.9742, 2.9677)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7414 #291474
analogous
#745914 #5F7414 #2F7414
triadic
#5F7414 #145F74 #74145F
tetradic
#5F7414 #147459 #291474 #74142F
square
#5F7414 #147459 #291474 #74142F
split-complementary
#5F7414 #142F74 #591474
monochromatic
#151A05 #34400B #5F7414 #8AA81D #B3DA28

Accessibility & contrast

On white

5.26
#5F7414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5F7414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7414
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7414#FFFFFF#000000##FFFFFF
##5F74141.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#656E62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f7414;
/* rgb */ color: rgb(95, 116, 20);
/* oklch */ color: oklch(52.4% 0.119 121.9);
Tailwind
colors: {
  custom: {
    50: '#909c5b',
    500: '#5f7414',
    950: '#000000',
  },
}
SCSS
$custom: #5f7414;
$custom-light: #909c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7414",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 73.125,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52382,
    "c": 0.11857,
    "h": 121.9
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#5F7414
secondary
#523AAA
accent
#3AED62
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7414

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

Preview Lab → · Contrast checker → · Palette generator →

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