#8F8416#8F8416

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

Color values

HEX#8F8416
RGBrgb(143, 132, 22)
HSLhsl(55, 73%, 32%)
HSVhsv(55, 85%, 56%)
CMYKcmyk(0%, 7.7%, 84.6%, 43.9%)
CIE-LABlab(54.45, -7.64, 54.74)
CIE-LCHlch(54.45, 55.27, 97.94°)
OKLaboklab(60.47% -0.0276 0.1177)
OKLCHoklch(60.47% 0.121 103.2)
XYZxyz(19.7247, 22.4010, 4.0437)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8416 #16218F
analogous
#8F4716 #8F8416 #5E8F16
triadic
#8F8416 #168F84 #84168F
tetradic
#8F8416 #168F47 #16218F #8F165E
square
#8F8416 #168F47 #16218F #8F165E
split-complementary
#8F8416 #165E8F #47168F
monochromatic
#252206 #5A530E #8F8416 #C4B51E #E1D23E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8416#FFFFFF#000000##000000
##8F84161.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)
#948420
Tritanopia (blue-blind)
#9B7A70
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f8416;
/* rgb */ color: rgb(143, 132, 22);
/* oklch */ color: oklch(60.5% 0.121 103.2);
Tailwind
colors: {
  custom: {
    50: '#b4a760',
    500: '#8f8416',
    950: '#000000',
  },
}
SCSS
$custom: #8f8416;
$custom-light: #b4a760;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8416",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 54.545,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60472,
    "c": 0.12089,
    "h": 103.2
  },
  "luminance": 0.224
}

Semantic roles & 50–950 ramp

primary
#8F8416
secondary
#3F4BC1
accent
#49F038
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #8F8416

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

Preview Lab → · Contrast checker → · Palette generator →

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