#8F802A#8F802A

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

Color values

HEX#8F802A
RGBrgb(143, 128, 42)
HSLhsl(51, 55%, 36%)
HSVhsv(51, 71%, 56%)
CMYKcmyk(0%, 10.5%, 70.6%, 43.9%)
CIE-LABlab(53.43, -4.56, 46.67)
CIE-LCHlch(53.43, 46.89, 95.58°)
OKLaboklab(59.7% -0.0169 0.1045)
OKLCHoklch(59.7% 0.106 99.2)
XYZxyz(19.4657, 21.4461, 5.3042)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F802A #2A398F
analogous
#8F4E2A #8F802A #6C8F2A
triadic
#8F802A #2A8F80 #802A8F
tetradic
#8F802A #2A8F4E #2A398F #8F2A6C
square
#8F802A #2A8F4E #2A398F #8F2A6C
split-complementary
#8F802A #2A6C8F #4E2A8F
monochromatic
#302B0E #60561C #8F802A #BEAA38 #D1C162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F802A#FFFFFF#000000##000000
##8F802A1.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)
#8C7D1E
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#9A766F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f802a;
/* rgb */ color: rgb(143, 128, 42);
/* oklch */ color: oklch(59.7% 0.106 99.2);
Tailwind
colors: {
  custom: {
    50: '#b3a469',
    500: '#8f802a',
    950: '#000000',
  },
}
SCSS
$custom: #8f802a;
$custom-light: #b3a469;
$custom-dark: #000000;
JSON
{
  "hex": "#8f802a",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 51.089,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59703,
    "c": 0.10583,
    "h": 99.2
  },
  "luminance": 0.21445
}

Semantic roles & 50–950 ramp

primary
#8F802A
secondary
#5E6BB7
accent
#60DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F802A

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

Preview Lab → · Contrast checker → · Palette generator →

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