#5F7415#5F7415

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

Color values

HEX#5F7415
RGBrgb(95, 116, 21)
HSLhsl(73, 69%, 27%)
HSVhsv(73, 82%, 45%)
CMYKcmyk(18.1%, 0%, 81.9%, 54.5%)
CIE-LABlab(45.60, -21.13, 45.70)
CIE-LCHlch(45.60, 50.35, 114.82°)
OKLaboklab(52.39% -0.0624 0.1002)
OKLCHoklch(52.39% 0.118 121.9)
XYZxyz(11.1002, 14.9778, 3.0155)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7415 #2A1574
analogous
#745A15 #5F7415 #307415
triadic
#5F7415 #155F74 #74155F
tetradic
#5F7415 #15745A #2A1574 #741530
square
#5F7415 #15745A #2A1574 #741530
split-complementary
#5F7415 #153074 #5A1574
monochromatic
#151A05 #35400C #5F7415 #89A81E #B2D92B

Accessibility & contrast

On white

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

On black

4.00
#5F7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F7415#FFFFFF#000000##FFFFFF
##5F74151.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#656E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f7415;
/* rgb */ color: rgb(95, 116, 21);
/* oklch */ color: oklch(52.4% 0.118 121.9);
Tailwind
colors: {
  custom: {
    50: '#909c5c',
    500: '#5f7415',
    950: '#000000',
  },
}
SCSS
$custom: #5f7415;
$custom-light: #909c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7415",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 73.263,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52388,
    "c": 0.11805,
    "h": 121.9
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#5F7415
secondary
#533BAA
accent
#3CEC63
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7415

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

Preview Lab → · Contrast checker → · Palette generator →

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