#5F6715#5F6715

#5F6715 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.1% C 0.102 H 115.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5F6715
RGBrgb(95, 103, 21)
HSLhsl(66, 66%, 24%)
HSVhsv(66, 80%, 40%)
CMYKcmyk(7.8%, 0%, 79.6%, 59.6%)
CIE-LABlab(41.51, -14.20, 41.94)
CIE-LCHlch(41.51, 44.27, 108.71°)
OKLaboklab(49.09% -0.0433 0.0922)
OKLCHoklch(49.09% 0.102 115.2)
XYZxyz(9.7052, 12.1877, 2.5505)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6715 #1D1567
analogous
#674615 #5F6715 #366715
triadic
#5F6715 #155F67 #67155F
tetradic
#5F6715 #156746 #1D1567 #671536
square
#5F6715 #156746 #1D1567 #671536
split-complementary
#5F6715 #153667 #461567
monochromatic
#171905 #30340B #5F6715 #8E9A1F #BDCD2A

Accessibility & contrast

On white

6.11
#5F6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5F6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6715
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6715#FFFFFF#000000##FFFFFF
##5F67151.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6103
Deuteranopia (green-blind)
#6E631C
Tritanopia (blue-blind)
#666158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f6715;
/* rgb */ color: rgb(95, 103, 21);
/* oklch */ color: oklch(49.1% 0.102 115.2);
Tailwind
colors: {
  custom: {
    50: '#8f925a',
    500: '#5f6715',
    950: '#000000',
  },
}
SCSS
$custom: #5f6715;
$custom-light: #8f925a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6715",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 65.854,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49094,
    "c": 0.1019,
    "h": 115.2
  },
  "luminance": 0.12188
}

Semantic roles & 50–950 ramp

primary
#5F6715
secondary
#443A9E
accent
#3FE94F
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #5F6715

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

Preview Lab → · Contrast checker → · Palette generator →

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