#877825#877825

#877825 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.102 H 98.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#877825
RGBrgb(135, 120, 37)
HSLhsl(51, 57%, 34%)
HSVhsv(51, 73%, 53%)
CMYKcmyk(0%, 11.1%, 72.6%, 47.1%)
CIE-LABlab(50.36, -4.07, 45.44)
CIE-LCHlch(50.36, 45.62, 95.11°)
OKLaboklab(57.07% -0.0156 0.1012)
OKLCHoklch(57.07% 0.102 98.8)
XYZxyz(17.0429, 18.7182, 4.4652)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877825 #253487
analogous
#874725 #877825 #658725
triadic
#877825 #258778 #782587
tetradic
#877825 #258747 #253487 #872565
square
#877825 #258747 #253487 #872565
split-complementary
#877825 #256587 #472587
monochromatic
#27230B #574D18 #877825 #B7A332 #D1BE56

Accessibility & contrast

On white

4.43
#877825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#877825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877825
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877825#FFFFFF#000000##000000
##8778251.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #877825;
/* rgb */ color: rgb(135, 120, 37);
/* oklch */ color: oklch(57.1% 0.102 98.8);
Tailwind
colors: {
  custom: {
    50: '#ad9e65',
    500: '#877825',
    950: '#000000',
  },
}
SCSS
$custom: #877825;
$custom-light: #ad9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#877825",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 37
  },
  "hsl": {
    "h": 50.816,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.10242,
    "h": 98.8
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#877825
secondary
#5362B5
accent
#5FE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877825

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

Preview Lab → · Contrast checker → · Palette generator →

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