#8F801E#8F801E

#8F801E 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#8F801E
RGBrgb(143, 128, 30)
HSLhsl(52, 65%, 34%)
HSVhsv(52, 79%, 56%)
CMYKcmyk(0%, 10.5%, 79%, 43.9%)
CIE-LABlab(53.35, -5.15, 51.27)
CIE-LCHlch(53.35, 51.53, 95.74°)
OKLaboklab(59.61% -0.0199 0.1119)
OKLCHoklch(59.61% 0.114 100.1)
XYZxyz(19.2822, 21.3727, 4.3377)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F801E #1E2D8F
analogous
#8F481E #8F801E #668F1E
triadic
#8F801E #1E8F80 #801E8F
tetradic
#8F801E #1E8F48 #1E2D8F #8F1E66
square
#8F801E #1E8F48 #1E2D8F #8F1E66
split-complementary
#8F801E #1E668F #481E8F
monochromatic
#2A2509 #5C5313 #8F801E #C2AD29 #DAC74E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F801E#FFFFFF#000000##000000
##8F801E1.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)
#8D7C07
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#9B766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f801e;
/* rgb */ color: rgb(143, 128, 30);
/* oklch */ color: oklch(59.6% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#b3a463',
    500: '#8f801e',
    950: '#000000',
  },
}
SCSS
$custom: #8f801e;
$custom-light: #b3a463;
$custom-dark: #000000;
JSON
{
  "hex": "#8f801e",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 52.035,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.11362,
    "h": 100.1
  },
  "luminance": 0.21372
}

Semantic roles & 50–950 ramp

primary
#8F801E
secondary
#4C5BBC
accent
#56E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #8F801E

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

Preview Lab → · Contrast checker → · Palette generator →

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