#877118#877118

#877118 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.4% C 0.105 H 94.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#877118
RGBrgb(135, 113, 24)
HSLhsl(48, 70%, 31%)
HSVhsv(48, 82%, 53%)
CMYKcmyk(0%, 16.3%, 82.2%, 47.1%)
CIE-LABlab(48.30, -0.70, 48.47)
CIE-LCHlch(48.30, 48.47, 90.83°)
OKLaboklab(55.41% -0.0075 0.105)
OKLCHoklch(55.41% 0.105 94.1)
XYZxyz(16.0626, 17.0281, 3.3047)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877118 #182E87
analogous
#873918 #877118 #658718
triadic
#877118 #188771 #711887
tetradic
#877118 #188739 #182E87 #871865
square
#877118 #188739 #182E87 #871865
split-complementary
#877118 #186587 #391887
monochromatic
#1F1A06 #53460F #877118 #BB9C21 #DCBD3D

Accessibility & contrast

On white

4.77
#877118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#877118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877118
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877118#FFFFFF#000000##FFFFFF
##8771181.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877118;
/* rgb */ color: rgb(135, 113, 24);
/* oklch */ color: oklch(55.4% 0.105 94.1);
Tailwind
colors: {
  custom: {
    50: '#ae995e',
    500: '#877118',
    950: '#000000',
  },
}
SCSS
$custom: #877118;
$custom-light: #ae995e;
$custom-dark: #000000;
JSON
{
  "hex": "#877118",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 48.108,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55409,
    "c": 0.10522,
    "h": 94.1
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#877118
secondary
#4058BB
accent
#5EED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #877118

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

Preview Lab → · Contrast checker → · Palette generator →

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