#8F8716#8F8716

#8F8716 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 61.2% C 0.124 H 105.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8F8716
RGBrgb(143, 135, 22)
HSLhsl(56, 73%, 32%)
HSVhsv(56, 85%, 56%)
CMYKcmyk(0%, 5.6%, 84.6%, 43.9%)
CIE-LABlab(55.30, -9.27, 55.46)
CIE-LCHlch(55.30, 56.23, 99.49°)
OKLaboklab(61.15% -0.0322 0.1193)
OKLCHoklch(61.15% 0.124 105.1)
XYZxyz(20.1374, 23.2263, 4.1813)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8716 #161E8F
analogous
#8F4B16 #8F8716 #5B8F16
triadic
#8F8716 #168F87 #87168F
tetradic
#8F8716 #168F4B #161E8F #8F165B
square
#8F8716 #168F4B #161E8F #8F165B
split-complementary
#8F8716 #165B8F #4B168F
monochromatic
#252306 #5A550E #8F8716 #C4B91E #E1D73E

Accessibility & contrast

On white

3.72
#8F8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8F8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8716
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8716#FFFFFF#000000##000000
##8F87161.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#978621
Tritanopia (blue-blind)
#9A7D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8716;
/* rgb */ color: rgb(143, 135, 22);
/* oklch */ color: oklch(61.2% 0.124 105.1);
Tailwind
colors: {
  custom: {
    50: '#b4a960',
    500: '#8f8716',
    950: '#000000',
  },
}
SCSS
$custom: #8f8716;
$custom-light: #b4a960;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8716",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 56.033,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.12354,
    "h": 105.1
  },
  "luminance": 0.23226
}

Semantic roles & 50–950 ramp

primary
#8F8716
secondary
#3F48C1
accent
#44F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F8716

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

Preview Lab → · Contrast checker → · Palette generator →

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