#857522#857522

#857522 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.2% C 0.102 H 98.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#857522
RGBrgb(133, 117, 34)
HSLhsl(50, 59%, 33%)
HSVhsv(50, 74%, 52%)
CMYKcmyk(0%, 12%, 74.4%, 47.8%)
CIE-LABlab(49.28, -3.47, 45.56)
CIE-LCHlch(49.28, 45.69, 94.35°)
OKLaboklab(56.16% -0.0141 0.101)
OKLCHoklch(56.16% 0.102 98)
XYZxyz(16.3237, 17.8254, 4.0939)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857522 #223285
analogous
#854322 #857522 #638522
triadic
#857522 #228575 #752285
tetradic
#857522 #228543 #223285 #852263
square
#857522 #228543 #223285 #852263
split-complementary
#857522 #226385 #432285
monochromatic
#241F09 #544A16 #857522 #B6A02E #D2BD4F

Accessibility & contrast

On white

4.60
#857522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#857522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #857522
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##857522#FFFFFF#000000##FFFFFF
##8575221.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#906C65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #857522;
/* rgb */ color: rgb(133, 117, 34);
/* oklch */ color: oklch(56.2% 0.102 98.0);
Tailwind
colors: {
  custom: {
    50: '#ac9c63',
    500: '#857522',
    950: '#000000',
  },
}
SCSS
$custom: #857522;
$custom-light: #ac9c63;
$custom-dark: #000000;
JSON
{
  "hex": "#857522",
  "rgb": {
    "r": 133,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 50.303,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.10195,
    "h": 98
  },
  "luminance": 0.17825
}

Semantic roles & 50–950 ramp

primary
#857522
secondary
#4D5EB6
accent
#5FE245
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #857522

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

Preview Lab → · Contrast checker → · Palette generator →

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