#5F7413#5F7413

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

Color values

HEX#5F7413
RGBrgb(95, 116, 19)
HSLhsl(73, 72%, 26%)
HSVhsv(73, 84%, 45%)
CMYKcmyk(18.1%, 0%, 83.6%, 54.5%)
CIE-LABlab(45.59, -21.22, 46.32)
CIE-LCHlch(45.59, 50.95, 114.62°)
OKLaboklab(52.38% -0.0628 0.1011)
OKLCHoklch(52.38% 0.119 121.8)
XYZxyz(11.0824, 14.9707, 2.9218)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7413 #281374
analogous
#745913 #5F7413 #2F7413
triadic
#5F7413 #135F74 #74135F
tetradic
#5F7413 #137459 #281374 #74132F
square
#5F7413 #137459 #281374 #74132F
split-complementary
#5F7413 #132F74 #591374
monochromatic
#161A04 #343F0A #5F7413 #8AA91C #B4DB26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7413#FFFFFF#000000##FFFFFF
##5F74131.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)
#796C1D
Tritanopia (blue-blind)
#656E62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f7413;
/* rgb */ color: rgb(95, 116, 19);
/* oklch */ color: oklch(52.4% 0.119 121.8);
Tailwind
colors: {
  custom: {
    50: '#909c5b',
    500: '#5f7413',
    950: '#000000',
  },
}
SCSS
$custom: #5f7413;
$custom-light: #909c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7413",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 19
  },
  "hsl": {
    "h": 72.99,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.11906,
    "h": 121.8
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#5F7413
secondary
#5138AA
accent
#39EF60
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7413

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

Preview Lab → · Contrast checker → · Palette generator →

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