#877230#877230

#877230 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.8% C 0.089 H 91.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#877230
RGBrgb(135, 114, 48)
HSLhsl(46, 48%, 36%)
HSVhsv(46, 64%, 53%)
CMYKcmyk(0%, 15.6%, 64.4%, 47.1%)
CIE-LABlab(48.76, 0.03, 38.71)
CIE-LCHlch(48.76, 38.71, 89.96°)
OKLaboklab(55.84% -0.0025 0.0889)
OKLCHoklch(55.84% 0.089 91.6)
XYZxyz(16.5433, 17.3998, 5.2829)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877230 #304587
analogous
#874630 #877230 #708730
triadic
#877230 #308772 #723087
tetradic
#877230 #308746 #304587 #873070
square
#877230 #308746 #304587 #873070
split-complementary
#877230 #307087 #463087
monochromatic
#2D2610 #5A4C20 #877230 #B49840 #C9B268

Accessibility & contrast

On white

4.69
#877230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#877230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877230
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877230#FFFFFF#000000##FFFFFF
##8772301.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7029
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#926964
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #877230;
/* rgb */ color: rgb(135, 114, 48);
/* oklch */ color: oklch(55.8% 0.089 91.6);
Tailwind
colors: {
  custom: {
    50: '#ad9a6b',
    500: '#877230',
    950: '#000000',
  },
}
SCSS
$custom: #877230;
$custom-light: #ad9a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#877230",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 48
  },
  "hsl": {
    "h": 45.517,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55835,
    "c": 0.08889,
    "h": 91.6
  },
  "luminance": 0.17399
}

Semantic roles & 50–950 ramp

primary
#877230
secondary
#6275B1
accent
#71D751
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #877230

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

Preview Lab → · Contrast checker → · Palette generator →

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