#5F6015#5F6015

#5F6015 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.3% C 0.094 H 110.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5F6015
RGBrgb(95, 96, 21)
HSLhsl(61, 64%, 23%)
HSVhsv(61, 78%, 38%)
CMYKcmyk(1%, 0%, 78.1%, 62.4%)
CIE-LABlab(39.33, -10.28, 39.89)
CIE-LCHlch(39.33, 41.19, 104.46°)
OKLaboklab(47.35% -0.0325 0.0879)
OKLCHoklch(47.35% 0.094 110.3)
XYZxyz(9.0379, 10.8530, 2.3281)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6015 #161560
analogous
#603B15 #5F6015 #396015
triadic
#5F6015 #155F60 #60155F
tetradic
#5F6015 #15603B #161560 #601539
square
#5F6015 #15603B #161560 #601539
split-complementary
#5F6015 #153960 #3B1560
monochromatic
#191905 #2D2E0A #5F6015 #919220 #C2C42B

Accessibility & contrast

On white

6.62
#5F6015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5F6015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6015
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6015#FFFFFF#000000##FFFFFF
##5F60151.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C06
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#665952
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6015;
/* rgb */ color: rgb(95, 96, 21);
/* oklch */ color: oklch(47.3% 0.094 110.3);
Tailwind
colors: {
  custom: {
    50: '#8f8c59',
    500: '#5f6015',
    950: '#000000',
  },
}
SCSS
$custom: #5f6015;
$custom-light: #8f8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6015",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 60.8,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47347,
    "c": 0.09368,
    "h": 110.3
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#5F6015
secondary
#3B3A97
accent
#41E743
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6015

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

Preview Lab → · Contrast checker → · Palette generator →

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