#8F801D#8F801D

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

Color values

HEX#8F801D
RGBrgb(143, 128, 29)
HSLhsl(52, 66%, 34%)
HSVhsv(52, 80%, 56%)
CMYKcmyk(0%, 10.5%, 79.7%, 43.9%)
CIE-LABlab(53.35, -5.19, 51.61)
CIE-LCHlch(53.35, 51.87, 95.74°)
OKLaboklab(59.61% -0.0201 0.1124)
OKLCHoklch(59.61% 0.114 100.1)
XYZxyz(19.2696, 21.3676, 4.2715)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F801D #1D2C8F
analogous
#8F471D #8F801D #658F1D
triadic
#8F801D #1D8F80 #801D8F
tetradic
#8F801D #1D8F47 #1D2C8F #8F1D65
square
#8F801D #1D8F47 #1D2C8F #8F1D65
split-complementary
#8F801D #1D658F #471D8F
monochromatic
#292508 #5C5213 #8F801D #C2AE27 #DBC84C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F801D#FFFFFF#000000##000000
##8F801D1.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)
#8D7C05
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#9B766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f801d;
/* rgb */ color: rgb(143, 128, 29);
/* oklch */ color: oklch(59.6% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#b3a462',
    500: '#8f801d',
    950: '#000000',
  },
}
SCSS
$custom: #8f801d;
$custom-light: #b3a462;
$custom-dark: #000000;
JSON
{
  "hex": "#8f801d",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 52.105,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59609,
    "c": 0.11417,
    "h": 100.1
  },
  "luminance": 0.21367
}

Semantic roles & 50–950 ramp

primary
#8F801D
secondary
#4B5ABD
accent
#55E93F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F801D

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

Preview Lab → · Contrast checker → · Palette generator →

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