#877018#877018

#877018 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.2% C 0.105 H 93.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#877018
RGBrgb(135, 112, 24)
HSLhsl(48, 70%, 31%)
HSVhsv(48, 82%, 53%)
CMYKcmyk(0%, 17%, 82.2%, 47.1%)
CIE-LABlab(48.01, -0.13, 48.22)
CIE-LCHlch(48.01, 48.22, 90.15°)
OKLaboklab(55.19% -0.0058 0.1044)
OKLCHoklch(55.19% 0.105 93.2)
XYZxyz(15.9516, 16.8062, 3.2677)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877018 #182F87
analogous
#873918 #877018 #668718
triadic
#877018 #188770 #701887
tetradic
#877018 #188739 #182F87 #871866
square
#877018 #188739 #182F87 #871866
split-complementary
#877018 #186687 #391887
monochromatic
#1F1A06 #53450F #877018 #BB9B21 #DCBB3D

Accessibility & contrast

On white

4.82
#877018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#877018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877018
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877018#FFFFFF#000000##FFFFFF
##8770181.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#936660
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #877018;
/* rgb */ color: rgb(135, 112, 24);
/* oklch */ color: oklch(55.2% 0.105 93.2);
Tailwind
colors: {
  custom: {
    50: '#ae985e',
    500: '#877018',
    950: '#000000',
  },
}
SCSS
$custom: #877018;
$custom-light: #ae985e;
$custom-dark: #000000;
JSON
{
  "hex": "#877018",
  "rgb": {
    "r": 135,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 47.568,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.10458,
    "h": 93.2
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#877018
secondary
#405ABB
accent
#60ED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #877018

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

Preview Lab → · Contrast checker → · Palette generator →

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