#5F7513#5F7513

#5F7513 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.120 H 122.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F7513
RGBrgb(95, 117, 19)
HSLhsl(73, 72%, 27%)
HSVhsv(73, 84%, 46%)
CMYKcmyk(18.8%, 0%, 83.8%, 54.1%)
CIE-LABlab(45.91, -21.74, 46.60)
CIE-LCHlch(45.91, 51.42, 115.01°)
OKLaboklab(52.63% -0.0642 0.1017)
OKLCHoklch(52.63% 0.12 122.3)
XYZxyz(11.1983, 15.2025, 2.9604)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7513 #291375
analogous
#755A13 #5F7513 #2E7513
triadic
#5F7513 #135F75 #75135F
tetradic
#5F7513 #13755A #291375 #75132E
square
#5F7513 #13755A #291375 #75132E
split-complementary
#5F7513 #132E75 #5A1375
monochromatic
#151A04 #34400A #5F7513 #8AAA1C #B3DC27

Accessibility & contrast

On white

5.20
#5F7513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5F7513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7513
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7513#FFFFFF#000000##FFFFFF
##5F75131.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#7A6D1D
Tritanopia (blue-blind)
#656F63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f7513;
/* rgb */ color: rgb(95, 117, 19);
/* oklch */ color: oklch(52.6% 0.120 122.3);
Tailwind
colors: {
  custom: {
    50: '#909c5b',
    500: '#5f7513',
    950: '#000000',
  },
}
SCSS
$custom: #5f7513;
$custom-light: #909c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7513",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 73.469,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.12032,
    "h": 122.3
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#5F7513
secondary
#5238AB
accent
#39EF62
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7513

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

Preview Lab → · Contrast checker → · Palette generator →

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