#8D802E#8D802E

#8D802E is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.103 H 100.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8D802E
RGBrgb(141, 128, 46)
HSLhsl(52, 51%, 37%)
HSVhsv(52, 67%, 55%)
CMYKcmyk(0%, 9.2%, 67.4%, 44.7%)
CIE-LABlab(53.28, -5.24, 44.69)
CIE-LCHlch(53.28, 45.00, 96.68°)
OKLaboklab(59.54% -0.0182 0.1011)
OKLCHoklch(59.54% 0.103 100.2)
XYZxyz(19.1976, 21.2992, 5.6842)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D802E #2E3B8D
analogous
#8D512E #8D802E #6B8D2E
triadic
#8D802E #2E8D80 #802E8D
tetradic
#8D802E #2E8D51 #2E3B8D #8D2E6B
square
#8D802E #2E8D51 #2E3B8D #8D2E6B
split-complementary
#8D802E #2E6B8D #512E8D
monochromatic
#312C10 #5F561F #8D802E #BBAA3D #CEC068

Accessibility & contrast

On white

3.99
#8D802E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8D802E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D802E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D802E#FFFFFF#000000##000000
##8D802E1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C24
Deuteranopia (green-blind)
#908133
Tritanopia (blue-blind)
#98776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d802e;
/* rgb */ color: rgb(141, 128, 46);
/* oklch */ color: oklch(59.5% 0.103 100.2);
Tailwind
colors: {
  custom: {
    50: '#b1a46b',
    500: '#8d802e',
    950: '#000000',
  },
}
SCSS
$custom: #8d802e;
$custom-light: #b1a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d802e",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 51.789,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.10269,
    "h": 100.2
  },
  "luminance": 0.21298
}

Semantic roles & 50–950 ramp

primary
#8D802E
secondary
#626EB5
accent
#61DA4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D802E

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

Preview Lab → · Contrast checker → · Palette generator →

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