#8F8816#8F8816

#8F8816 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.124 H 105.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8F8816
RGBrgb(143, 136, 22)
HSLhsl(57, 73%, 32%)
HSVhsv(57, 85%, 56%)
CMYKcmyk(0%, 4.9%, 84.6%, 43.9%)
CIE-LABlab(55.59, -9.81, 55.71)
CIE-LCHlch(55.59, 56.56, 99.99°)
OKLaboklab(61.38% -0.0337 0.1198)
OKLCHoklch(61.38% 0.124 105.7)
XYZxyz(20.2776, 23.5067, 4.2280)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8816 #161D8F
analogous
#8F4C16 #8F8816 #598F16
triadic
#8F8816 #168F88 #88168F
tetradic
#8F8816 #168F4C #161D8F #8F1659
square
#8F8816 #168F4C #161D8F #8F1659
split-complementary
#8F8816 #16598F #4C168F
monochromatic
#252306 #5A560E #8F8816 #C4BA1E #E1D83E

Accessibility & contrast

On white

3.68
#8F8816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8F8816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8816
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8816#FFFFFF#000000##000000
##8F88161.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#9A7E74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8816;
/* rgb */ color: rgb(143, 136, 22);
/* oklch */ color: oklch(61.4% 0.124 105.7);
Tailwind
colors: {
  custom: {
    50: '#b4aa60',
    500: '#8f8816',
    950: '#000000',
  },
}
SCSS
$custom: #8f8816;
$custom-light: #b4aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8816",
  "rgb": {
    "r": 143,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 56.529,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.6138,
    "c": 0.12445,
    "h": 105.7
  },
  "luminance": 0.23506
}

Semantic roles & 50–950 ramp

primary
#8F8816
secondary
#3F47C1
accent
#42F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8F8816

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

Preview Lab → · Contrast checker → · Palette generator →

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