#887318#887318

#887318 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.0% C 0.107 H 95.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#887318
RGBrgb(136, 115, 24)
HSLhsl(49, 70%, 31%)
HSVhsv(49, 82%, 53%)
CMYKcmyk(0%, 15.4%, 82.4%, 46.7%)
CIE-LABlab(48.96, -1.36, 49.10)
CIE-LCHlch(48.96, 49.12, 91.59°)
OKLaboklab(55.96% -0.0094 0.1063)
OKLCHoklch(55.96% 0.107 95.1)
XYZxyz(16.4499, 17.5626, 3.3875)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887318 #182D88
analogous
#883B18 #887318 #658818
triadic
#887318 #188873 #731888
tetradic
#887318 #18883B #182D88 #881865
square
#887318 #18883B #182D88 #881865
split-complementary
#887318 #186588 #3B1888
monochromatic
#201B06 #54470F #887318 #BC9F21 #DDBF3E

Accessibility & contrast

On white

4.65
#887318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#887318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #887318
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887318#FFFFFF#000000##FFFFFF
##8873181.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#946962
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #887318;
/* rgb */ color: rgb(136, 115, 24);
/* oklch */ color: oklch(56.0% 0.107 95.1);
Tailwind
colors: {
  custom: {
    50: '#af9a5e',
    500: '#887318',
    950: '#000000',
  },
}
SCSS
$custom: #887318;
$custom-light: #af9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#887318",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 48.75,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.10668,
    "h": 95.1
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#887318
secondary
#4057BC
accent
#5CED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #887318

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

Preview Lab → · Contrast checker → · Palette generator →

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