#8F801F#8F801F

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

Color values

HEX#8F801F
RGBrgb(143, 128, 31)
HSLhsl(52, 64%, 34%)
HSVhsv(52, 78%, 56%)
CMYKcmyk(0%, 10.5%, 78.3%, 43.9%)
CIE-LABlab(53.36, -5.11, 50.92)
CIE-LCHlch(53.36, 51.18, 95.73°)
OKLaboklab(59.62% -0.0197 0.1113)
OKLCHoklch(59.62% 0.113 100)
XYZxyz(19.2951, 21.3778, 4.4061)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F801F #1F2E8F
analogous
#8F481F #8F801F #668F1F
triadic
#8F801F #1F8F80 #801F8F
tetradic
#8F801F #1F8F48 #1F2E8F #8F1F66
square
#8F801F #1F8F48 #1F2E8F #8F1F66
split-complementary
#8F801F #1F668F #481F8F
monochromatic
#2A2609 #5D5314 #8F801F #C1AD2A #D9C74F

Accessibility & contrast

On white

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

On black

5.28
#8F801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F801F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F801F#FFFFFF#000000##000000
##8F801F1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0A
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#9B766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f801f;
/* rgb */ color: rgb(143, 128, 31);
/* oklch */ color: oklch(59.6% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#b3a463',
    500: '#8f801f',
    950: '#000000',
  },
}
SCSS
$custom: #8f801f;
$custom-light: #b3a463;
$custom-dark: #000000;
JSON
{
  "hex": "#8f801f",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 51.964,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59621,
    "c": 0.11305,
    "h": 100
  },
  "luminance": 0.21377
}

Semantic roles & 50–950 ramp

primary
#8F801F
secondary
#4E5DBC
accent
#57E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F801F

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

Preview Lab → · Contrast checker → · Palette generator →

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