#877A30#877A30

#877A30 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.095 H 99.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#877A30
RGBrgb(135, 122, 48)
HSLhsl(51, 48%, 36%)
HSVhsv(51, 64%, 53%)
CMYKcmyk(0%, 9.6%, 64.4%, 47.1%)
CIE-LABlab(51.02, -4.50, 41.18)
CIE-LCHlch(51.02, 41.43, 96.24°)
OKLaboklab(57.62% -0.0155 0.0941)
OKLCHoklch(57.62% 0.095 99.4)
XYZxyz(17.4854, 19.2841, 5.5969)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A30 #303D87
analogous
#874E30 #877A30 #688730
triadic
#877A30 #30877A #7A3087
tetradic
#877A30 #30874E #303D87 #873068
square
#877A30 #30874E #303D87 #873068
split-complementary
#877A30 #306887 #4E3087
monochromatic
#2D2810 #5A5120 #877A30 #B4A340 #C9BB68

Accessibility & contrast

On white

4.32
#877A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#877A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A30
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A30#FFFFFF#000000##000000
##877A301.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#91716A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a30;
/* rgb */ color: rgb(135, 122, 48);
/* oklch */ color: oklch(57.6% 0.095 99.4);
Tailwind
colors: {
  custom: {
    50: '#aca06c',
    500: '#877a30',
    950: '#000000',
  },
}
SCSS
$custom: #877a30;
$custom-light: #aca06c;
$custom-dark: #000000;
JSON
{
  "hex": "#877a30",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 48
  },
  "hsl": {
    "h": 51.034,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.0954,
    "h": 99.4
  },
  "luminance": 0.19283
}

Semantic roles & 50–950 ramp

primary
#877A30
secondary
#626EB1
accent
#65D751
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877A30

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

Preview Lab → · Contrast checker → · Palette generator →

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