#857217#857217

#857217 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.4% C 0.106 H 96.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#857217
RGBrgb(133, 114, 23)
HSLhsl(50, 71%, 31%)
HSVhsv(50, 83%, 52%)
CMYKcmyk(0%, 14.3%, 82.7%, 47.8%)
CIE-LABlab(48.37, -2.25, 48.79)
CIE-LCHlch(48.37, 48.84, 92.64°)
OKLaboklab(55.42% -0.0118 0.1055)
OKLCHoklch(55.42% 0.106 96.4)
XYZxyz(15.8457, 17.0839, 3.2733)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857217 #172A85
analogous
#853B17 #857217 #618517
triadic
#857217 #178572 #721785
tetradic
#857217 #17853B #172A85 #851761
square
#857217 #17853B #172A85 #851761
split-complementary
#857217 #176185 #3B1785
monochromatic
#1D1905 #51450E #857217 #B99F20 #DDC13A

Accessibility & contrast

On white

4.75
#857217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#857217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #857217
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##857217#FFFFFF#000000##FFFFFF
##8572171.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#84751E
Tritanopia (blue-blind)
#906861
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #857217;
/* rgb */ color: rgb(133, 114, 23);
/* oklch */ color: oklch(55.4% 0.106 96.4);
Tailwind
colors: {
  custom: {
    50: '#ac9a5d',
    500: '#857217',
    950: '#000000',
  },
}
SCSS
$custom: #857217;
$custom-light: #ac9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#857217",
  "rgb": {
    "r": 133,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 49.636,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.1062,
    "h": 96.4
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#857217
secondary
#3F54B9
accent
#59ED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #857217

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

Preview Lab → · Contrast checker → · Palette generator →

#857217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva