#8C821D#8C821D

#8C821D is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.116 H 103.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8C821D
RGBrgb(140, 130, 29)
HSLhsl(55, 66%, 33%)
HSVhsv(55, 79%, 55%)
CMYKcmyk(0%, 7.1%, 79.3%, 45.1%)
CIE-LABlab(53.63, -7.68, 51.76)
CIE-LCHlch(53.63, 52.33, 98.44°)
OKLaboklab(59.77% -0.027 0.1128)
OKLCHoklch(59.77% 0.116 103.4)
XYZxyz(19.0205, 21.6302, 4.3353)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C821D #1D278C
analogous
#8C4B1D #8C821D #5E8C1D
triadic
#8C821D #1D8C82 #821D8C
tetradic
#8C821D #1D8C4B #1D278C #8C1D5E
square
#8C821D #1D8C4B #1D278C #8C1D5E
split-complementary
#8C821D #1D5E8C #4B1D8C
monochromatic
#272408 #595312 #8C821D #BFB128 #D9CD4A

Accessibility & contrast

On white

3.94
#8C821D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8C821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C821D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C821D#FFFFFF#000000##000000
##8C821D1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D04
Deuteranopia (green-blind)
#928225
Tritanopia (blue-blind)
#97786F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8c821d;
/* rgb */ color: rgb(140, 130, 29);
/* oklch */ color: oklch(59.8% 0.116 103.4);
Tailwind
colors: {
  custom: {
    50: '#b1a662',
    500: '#8c821d',
    950: '#000000',
  },
}
SCSS
$custom: #8c821d;
$custom-light: #b1a662;
$custom-dark: #000000;
JSON
{
  "hex": "#8c821d",
  "rgb": {
    "r": 140,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 54.595,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59766,
    "c": 0.11602,
    "h": 103.4
  },
  "luminance": 0.21629
}

Semantic roles & 50–950 ramp

primary
#8C821D
secondary
#4953BC
accent
#4EE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C821D

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

Preview Lab → · Contrast checker → · Palette generator →

#8C821D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva