#887218#887218

#887218 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.7% C 0.106 H 94.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#887218
RGBrgb(136, 114, 24)
HSLhsl(48, 70%, 31%)
HSVhsv(48, 82%, 53%)
CMYKcmyk(0%, 16.2%, 82.4%, 46.7%)
CIE-LABlab(48.68, -0.80, 48.85)
CIE-LCHlch(48.68, 48.86, 90.93°)
OKLaboklab(55.74% -0.0078 0.1057)
OKLCHoklch(55.74% 0.106 94.2)
XYZxyz(16.3365, 17.3358, 3.3497)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887218 #182E88
analogous
#883A18 #887218 #668818
triadic
#887218 #188872 #721888
tetradic
#887218 #18883A #182E88 #881866
square
#887218 #18883A #182E88 #881866
split-complementary
#887218 #186688 #3A1888
monochromatic
#201B06 #54460F #887218 #BC9E21 #DDBE3E

Accessibility & contrast

On white

4.70
#887218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#887218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #887218
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887218#FFFFFF#000000##FFFFFF
##8872181.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#85761E
Tritanopia (blue-blind)
#946861
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #887218;
/* rgb */ color: rgb(136, 114, 24);
/* oklch */ color: oklch(55.7% 0.106 94.2);
Tailwind
colors: {
  custom: {
    50: '#af9a5e',
    500: '#887218',
    950: '#000000',
  },
}
SCSS
$custom: #887218;
$custom-light: #af9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#887218",
  "rgb": {
    "r": 136,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 48.214,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.10602,
    "h": 94.2
  },
  "luminance": 0.17335
}

Semantic roles & 50–950 ramp

primary
#887218
secondary
#4058BC
accent
#5EED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #887218

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

Preview Lab → · Contrast checker → · Palette generator →

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