#5F6515#5F6515

#5F6515 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.100 H 113.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5F6515
RGBrgb(95, 101, 21)
HSLhsl(65, 66%, 24%)
HSVhsv(65, 79%, 40%)
CMYKcmyk(5.9%, 0%, 79.2%, 60.4%)
CIE-LABlab(40.89, -13.09, 41.35)
CIE-LCHlch(40.89, 43.38, 107.57°)
OKLaboklab(48.59% -0.0403 0.091)
OKLCHoklch(48.59% 0.1 113.9)
XYZxyz(9.5086, 11.7946, 2.4850)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6515 #1B1565
analogous
#654315 #5F6515 #376515
triadic
#5F6515 #155F65 #65155F
tetradic
#5F6515 #156543 #1B1565 #651537
square
#5F6515 #156543 #1B1565 #651537
split-complementary
#5F6515 #153765 #431565
monochromatic
#181905 #2F320A #5F6515 #8F9820 #BECA2A

Accessibility & contrast

On white

6.25
#5F6515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5F6515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6515
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6515#FFFFFF#000000##FFFFFF
##5F65151.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6004
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#665F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6515;
/* rgb */ color: rgb(95, 101, 21);
/* oklch */ color: oklch(48.6% 0.100 113.9);
Tailwind
colors: {
  custom: {
    50: '#8f905a',
    500: '#5f6515',
    950: '#000000',
  },
}
SCSS
$custom: #5f6515;
$custom-light: #8f905a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6515",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 64.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48592,
    "c": 0.0995,
    "h": 113.9
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#5F6515
secondary
#413A9C
accent
#3FE94C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6515

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

Preview Lab → · Contrast checker → · Palette generator →

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