#8D821E#8D821E

#8D821E is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.115 H 102.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8D821E
RGBrgb(141, 130, 30)
HSLhsl(54, 65%, 34%)
HSVhsv(54, 79%, 55%)
CMYKcmyk(0%, 7.8%, 78.7%, 44.7%)
CIE-LABlab(53.73, -7.18, 51.55)
CIE-LCHlch(53.73, 52.04, 97.93°)
OKLaboklab(59.87% -0.0255 0.1125)
OKLCHoklch(59.87% 0.115 102.8)
XYZxyz(19.2024, 21.7226, 4.4095)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D821E #1E298D
analogous
#8D4A1E #8D821E #608D1E
triadic
#8D821E #1E8D82 #821E8D
tetradic
#8D821E #1E8D4A #1E298D #8D1E60
square
#8D821E #1E8D4A #1E298D #8D1E60
split-complementary
#8D821E #1E608D #4A1E8D
monochromatic
#282509 #5B5313 #8D821E #BFB129 #D9CB4C

Accessibility & contrast

On white

3.93
#8D821E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8D821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D821E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D821E#FFFFFF#000000##000000
##8D821E1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#928326
Tritanopia (blue-blind)
#98786F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d821e;
/* rgb */ color: rgb(141, 130, 30);
/* oklch */ color: oklch(59.9% 0.115 102.8);
Tailwind
colors: {
  custom: {
    50: '#b2a663',
    500: '#8d821e',
    950: '#000000',
  },
}
SCSS
$custom: #8d821e;
$custom-light: #b2a663;
$custom-dark: #000000;
JSON
{
  "hex": "#8d821e",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 54.054,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.1154,
    "h": 102.8
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#8D821E
secondary
#4B56BC
accent
#51E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D821E

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

Preview Lab → · Contrast checker → · Palette generator →

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