#8F8916#8F8916

#8F8916 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.125 H 106.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8F8916
RGBrgb(143, 137, 22)
HSLhsl(57, 73%, 32%)
HSVhsv(57, 85%, 56%)
CMYKcmyk(0%, 4.2%, 84.6%, 43.9%)
CIE-LABlab(55.88, -10.35, 55.95)
CIE-LCHlch(55.88, 56.90, 100.49°)
OKLaboklab(61.61% -0.0352 0.1203)
OKLCHoklch(61.61% 0.125 106.3)
XYZxyz(20.4191, 23.7897, 4.2752)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8916 #161C8F
analogous
#8F4D16 #8F8916 #588F16
triadic
#8F8916 #168F89 #89168F
tetradic
#8F8916 #168F4D #161C8F #8F1658
square
#8F8916 #168F4D #161C8F #8F1658
split-complementary
#8F8916 #16588F #4D168F
monochromatic
#252306 #5A560E #8F8916 #C4BC1E #E1D93E

Accessibility & contrast

On white

3.65
#8F8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8F8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8916
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8916#FFFFFF#000000##000000
##8F89161.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988821
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f8916;
/* rgb */ color: rgb(143, 137, 22);
/* oklch */ color: oklch(61.6% 0.125 106.3);
Tailwind
colors: {
  custom: {
    50: '#b4ab61',
    500: '#8f8916',
    950: '#000000',
  },
}
SCSS
$custom: #8f8916;
$custom-light: #b4ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8916",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 57.025,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.12536,
    "h": 106.3
  },
  "luminance": 0.23789
}

Semantic roles & 50–950 ramp

primary
#8F8916
secondary
#3F46C1
accent
#41F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8F8916

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

Preview Lab → · Contrast checker → · Palette generator →

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