#877D37#877D37

#877D37 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.092 H 101.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#877D37
RGBrgb(135, 125, 55)
HSLhsl(53, 42%, 37%)
HSVhsv(53, 59%, 53%)
CMYKcmyk(0%, 7.4%, 59.3%, 47.1%)
CIE-LABlab(51.94, -5.65, 38.81)
CIE-LCHlch(51.94, 39.22, 98.28°)
OKLaboklab(58.38% -0.0179 0.09)
OKLCHoklch(58.38% 0.092 101.3)
XYZxyz(18.0155, 20.0947, 6.5434)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D37 #374187
analogous
#875537 #877D37 #698737
triadic
#877D37 #37877D #7D3787
tetradic
#877D37 #378755 #374187 #873769
square
#877D37 #378755 #374187 #873769
split-complementary
#877D37 #376987 #553787
monochromatic
#302C14 #5C5525 #877D37 #B2A549 #C6BB73

Accessibility & contrast

On white

4.18
#877D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#877D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D37
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D37#FFFFFF#000000##000000
##877D371.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887930
Deuteranopia (green-blind)
#8B7E3A
Tritanopia (blue-blind)
#91756E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d37;
/* rgb */ color: rgb(135, 125, 55);
/* oklch */ color: oklch(58.4% 0.092 101.3);
Tailwind
colors: {
  custom: {
    50: '#aca270',
    500: '#877d37',
    950: '#000000',
  },
}
SCSS
$custom: #877d37;
$custom-light: #aca270;
$custom-dark: #000000;
JSON
{
  "hex": "#877d37",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 52.5,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58379,
    "c": 0.0918,
    "h": 101.3
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#877D37
secondary
#6B74AF
accent
#65D256
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100F08
muted
#7F7E7B

Preview Lab

Preview with #877D37

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

Preview Lab → · Contrast checker → · Palette generator →

#877D37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva