#8F841A#8F841A

#8F841A is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.119 H 103.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8F841A
RGBrgb(143, 132, 26)
HSLhsl(54, 69%, 33%)
HSVhsv(54, 82%, 56%)
CMYKcmyk(0%, 7.7%, 81.8%, 43.9%)
CIE-LABlab(54.47, -7.51, 53.58)
CIE-LCHlch(54.47, 54.11, 97.97°)
OKLaboklab(60.49% -0.0269 0.116)
OKLCHoklch(60.49% 0.119 103.1)
XYZxyz(19.7663, 22.4176, 4.2629)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F841A #1A258F
analogous
#8F491A #8F841A #5F8F1A
triadic
#8F841A #1A8F84 #841A8F
tetradic
#8F841A #1A8F49 #1A258F #8F1A5F
square
#8F841A #1A8F49 #1A258F #8F1A5F
split-complementary
#8F841A #1A5F8F #491A8F
monochromatic
#272407 #5B5411 #8F841A #C3B423 #DDCF46

Accessibility & contrast

On white

3.83
#8F841A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8F841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F841A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F841A#FFFFFF#000000##000000
##8F841A1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#9A7A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f841a;
/* rgb */ color: rgb(143, 132, 26);
/* oklch */ color: oklch(60.5% 0.119 103.1);
Tailwind
colors: {
  custom: {
    50: '#b4a761',
    500: '#8f841a',
    950: '#000000',
  },
}
SCSS
$custom: #8f841a;
$custom-light: #b4a761;
$custom-dark: #000000;
JSON
{
  "hex": "#8f841a",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 54.359,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60492,
    "c": 0.11908,
    "h": 103.1
  },
  "luminance": 0.22417
}

Semantic roles & 50–950 ramp

primary
#8F841A
secondary
#4651BF
accent
#4CEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F841A

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

Preview Lab → · Contrast checker → · Palette generator →

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