#856F17#856F17

#856F17 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.7% C 0.104 H 93.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#856F17
RGBrgb(133, 111, 23)
HSLhsl(48, 71%, 31%)
HSVhsv(48, 83%, 52%)
CMYKcmyk(0%, 16.5%, 82.7%, 47.8%)
CIE-LABlab(47.52, -0.54, 48.04)
CIE-LCHlch(47.52, 48.04, 90.64°)
OKLaboklab(54.75% -0.007 0.1039)
OKLCHoklch(54.75% 0.104 93.9)
XYZxyz(15.5128, 16.4182, 3.1624)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#856F17 #172D85
analogous
#853817 #856F17 #648517
triadic
#856F17 #17856F #6F1785
tetradic
#856F17 #178538 #172D85 #851764
square
#856F17 #178538 #172D85 #851764
split-complementary
#856F17 #176485 #381785
monochromatic
#1D1805 #51430E #856F17 #B99B20 #DDBC3A

Accessibility & contrast

On white

4.90
#856F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#856F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #856F17
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##856F17#FFFFFF#000000##FFFFFF
##856F171.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#90655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #856f17;
/* rgb */ color: rgb(133, 111, 23);
/* oklch */ color: oklch(54.7% 0.104 93.9);
Tailwind
colors: {
  custom: {
    50: '#ac985d',
    500: '#856f17',
    950: '#000000',
  },
}
SCSS
$custom: #856f17;
$custom-light: #ac985d;
$custom-dark: #000000;
JSON
{
  "hex": "#856f17",
  "rgb": {
    "r": 133,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 48,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.10416,
    "h": 93.9
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

primary
#856F17
secondary
#3F57B9
accent
#5EED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #856F17

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

Preview Lab → · Contrast checker → · Palette generator →

#856F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva