#8F8516#8F8516

#8F8516 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.122 H 103.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8F8516
RGBrgb(143, 133, 22)
HSLhsl(55, 73%, 32%)
HSVhsv(55, 85%, 56%)
CMYKcmyk(0%, 7%, 84.6%, 43.9%)
CIE-LABlab(54.73, -8.19, 54.98)
CIE-LCHlch(54.73, 55.59, 98.47°)
OKLaboklab(60.7% -0.0291 0.1182)
OKLCHoklch(60.7% 0.122 103.8)
XYZxyz(19.8610, 22.6735, 4.0892)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8516 #16208F
analogous
#8F4816 #8F8516 #5D8F16
triadic
#8F8516 #168F85 #85168F
tetradic
#8F8516 #168F48 #16208F #8F165D
square
#8F8516 #168F48 #16208F #8F165D
split-complementary
#8F8516 #165D8F #48168F
monochromatic
#252206 #5A540E #8F8516 #C4B61E #E1D43E

Accessibility & contrast

On white

3.79
#8F8516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8F8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8516
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8516#FFFFFF#000000##000000
##8F85161.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#958520
Tritanopia (blue-blind)
#9A7B71
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f8516;
/* rgb */ color: rgb(143, 133, 22);
/* oklch */ color: oklch(60.7% 0.122 103.8);
Tailwind
colors: {
  custom: {
    50: '#b4a860',
    500: '#8f8516',
    950: '#000000',
  },
}
SCSS
$custom: #8f8516;
$custom-light: #b4a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8516",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 55.041,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60699,
    "c": 0.12175,
    "h": 103.8
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

primary
#8F8516
secondary
#3F4AC1
accent
#47F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F8516

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

Preview Lab → · Contrast checker → · Palette generator →

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