#8F801A#8F801A

#8F801A is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.116 H 100.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8F801A
RGBrgb(143, 128, 26)
HSLhsl(52, 69%, 33%)
HSVhsv(52, 82%, 56%)
CMYKcmyk(0%, 10.5%, 81.8%, 43.9%)
CIE-LABlab(53.33, -5.30, 52.58)
CIE-LCHlch(53.33, 52.85, 95.76°)
OKLaboklab(59.59% -0.0207 0.1139)
OKLCHoklch(59.59% 0.116 100.3)
XYZxyz(19.2343, 21.3535, 4.0856)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F801A #1A298F
analogous
#8F461A #8F801A #638F1A
triadic
#8F801A #1A8F80 #801A8F
tetradic
#8F801A #1A8F46 #1A298F #8F1A63
square
#8F801A #1A8F46 #1A298F #8F1A63
split-complementary
#8F801A #1A638F #461A8F
monochromatic
#272307 #5B5211 #8F801A #C3AE23 #DDCA46

Accessibility & contrast

On white

3.98
#8F801A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8F801A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F801A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F801A#FFFFFF#000000##000000
##8F801A1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#9B766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f801a;
/* rgb */ color: rgb(143, 128, 26);
/* oklch */ color: oklch(59.6% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#b4a461',
    500: '#8f801a',
    950: '#000000',
  },
}
SCSS
$custom: #8f801a;
$custom-light: #b4a461;
$custom-dark: #000000;
JSON
{
  "hex": "#8f801a",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 52.308,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.11572,
    "h": 100.3
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#8F801A
secondary
#4655BF
accent
#52EC3C
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F801A

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

Preview Lab → · Contrast checker → · Palette generator →

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