#8F8616#8F8616

#8F8616 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.123 H 104.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8F8616
RGBrgb(143, 134, 22)
HSLhsl(56, 73%, 32%)
HSVhsv(56, 85%, 56%)
CMYKcmyk(0%, 6.3%, 84.6%, 43.9%)
CIE-LABlab(55.02, -8.73, 55.22)
CIE-LCHlch(55.02, 55.91, 98.98°)
OKLaboklab(60.93% -0.0306 0.1188)
OKLCHoklch(60.93% 0.123 104.5)
XYZxyz(19.9985, 22.9486, 4.1350)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8616 #161F8F
analogous
#8F4916 #8F8616 #5C8F16
triadic
#8F8616 #168F86 #86168F
tetradic
#8F8616 #168F49 #161F8F #8F165C
square
#8F8616 #168F49 #161F8F #8F165C
split-complementary
#8F8616 #165C8F #49168F
monochromatic
#252306 #5A540E #8F8616 #C4B81E #E1D53E

Accessibility & contrast

On white

3.76
#8F8616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8F8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8616
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8616#FFFFFF#000000##000000
##8F86161.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#9A7C72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8616;
/* rgb */ color: rgb(143, 134, 22);
/* oklch */ color: oklch(60.9% 0.123 104.5);
Tailwind
colors: {
  custom: {
    50: '#b4a860',
    500: '#8f8616',
    950: '#000000',
  },
}
SCSS
$custom: #8f8616;
$custom-light: #b4a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8616",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 55.537,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60926,
    "c": 0.12264,
    "h": 104.5
  },
  "luminance": 0.22948
}

Semantic roles & 50–950 ramp

primary
#8F8616
secondary
#3F49C1
accent
#45F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F8616

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

Preview Lab → · Contrast checker → · Palette generator →

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