#8F802D#8F802D

#8F802D is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.104 H 98.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8F802D
RGBrgb(143, 128, 45)
HSLhsl(51, 52%, 37%)
HSVhsv(51, 69%, 56%)
CMYKcmyk(0%, 10.5%, 68.5%, 43.9%)
CIE-LABlab(53.46, -4.39, 45.39)
CIE-LCHlch(53.46, 45.60, 95.52°)
OKLaboklab(59.73% -0.0161 0.1023)
OKLCHoklch(59.73% 0.104 98.9)
XYZxyz(19.5214, 21.4683, 5.5977)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F802D #2D3C8F
analogous
#8F4F2D #8F802D #6D8F2D
triadic
#8F802D #2D8F80 #802D8F
tetradic
#8F802D #2D8F4F #2D3C8F #8F2D6D
square
#8F802D #2D8F4F #2D3C8F #8F2D6D
split-complementary
#8F802D #2D6D8F #4F2D8F
monochromatic
#322D10 #60561E #8F802D #BEAA3C #CFBF67

Accessibility & contrast

On white

3.97
#8F802D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8F802D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F802D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F802D#FFFFFF#000000##000000
##8F802D1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D22
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#9A776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f802d;
/* rgb */ color: rgb(143, 128, 45);
/* oklch */ color: oklch(59.7% 0.104 98.9);
Tailwind
colors: {
  custom: {
    50: '#b3a46b',
    500: '#8f802d',
    950: '#000000',
  },
}
SCSS
$custom: #8f802d;
$custom-light: #b3a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f802d",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 50.816,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.10355,
    "h": 98.9
  },
  "luminance": 0.21467
}

Semantic roles & 50–950 ramp

primary
#8F802D
secondary
#626FB6
accent
#62DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F802D

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

Preview Lab → · Contrast checker → · Palette generator →

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