#5F6615#5F6615

#5F6615 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.8% C 0.101 H 114.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5F6615
RGBrgb(95, 102, 21)
HSLhsl(65, 66%, 24%)
HSVhsv(65, 79%, 40%)
CMYKcmyk(6.9%, 0%, 79.4%, 60%)
CIE-LABlab(41.20, -13.65, 41.64)
CIE-LCHlch(41.20, 43.82, 108.15°)
OKLaboklab(48.84% -0.0418 0.0916)
OKLCHoklch(48.84% 0.101 114.5)
XYZxyz(9.6063, 11.9900, 2.5176)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6615 #1C1566
analogous
#664515 #5F6615 #376615
triadic
#5F6615 #155F66 #66155F
tetradic
#5F6615 #156645 #1C1566 #661537
square
#5F6615 #156645 #1C1566 #661537
split-complementary
#5F6615 #153766 #451566
monochromatic
#181905 #30330B #5F6615 #8E991F #BECC2A

Accessibility & contrast

On white

6.18
#5F6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5F6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6615
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6615#FFFFFF#000000##FFFFFF
##5F66151.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6103
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#666057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f6615;
/* rgb */ color: rgb(95, 102, 21);
/* oklch */ color: oklch(48.8% 0.101 114.5);
Tailwind
colors: {
  custom: {
    50: '#8f915a',
    500: '#5f6615',
    950: '#000000',
  },
}
SCSS
$custom: #5f6615;
$custom-light: #8f915a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6615",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 65.185,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48843,
    "c": 0.10069,
    "h": 114.5
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#5F6615
secondary
#423A9D
accent
#3FE94E
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6615

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

Preview Lab → · Contrast checker → · Palette generator →

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