#8F8D16#8F8D16

#8F8D16 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.129 H 108.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8F8D16
RGBrgb(143, 141, 22)
HSLhsl(59, 73%, 32%)
HSVhsv(59, 85%, 56%)
CMYKcmyk(0%, 1.4%, 84.6%, 43.9%)
CIE-LABlab(57.02, -12.50, 56.92)
CIE-LCHlch(57.02, 58.28, 102.39°)
OKLaboklab(62.53% -0.0411 0.1225)
OKLCHoklch(62.53% 0.129 108.6)
XYZxyz(20.9982, 24.9480, 4.4683)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D16 #16188F
analogous
#8F5016 #8F8D16 #558F16
triadic
#8F8D16 #168F8D #8D168F
tetradic
#8F8D16 #168F50 #16188F #8F1655
square
#8F8D16 #168F50 #16188F #8F1655
split-complementary
#8F8D16 #16558F #50168F
monochromatic
#252406 #5A590E #8F8D16 #C4C11E #E1DF3E

Accessibility & contrast

On white

3.51
#8F8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8F8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8D16
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8D16#FFFFFF#000000##000000
##8F8D161.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9B8B22
Tritanopia (blue-blind)
#9A8378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d16;
/* rgb */ color: rgb(143, 141, 22);
/* oklch */ color: oklch(62.5% 0.129 108.6);
Tailwind
colors: {
  custom: {
    50: '#b4ae61',
    500: '#8f8d16',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d16;
$custom-light: #b4ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d16",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 59.008,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62525,
    "c": 0.12917,
    "h": 108.6
  },
  "luminance": 0.24947
}

Semantic roles & 50–950 ramp

primary
#8F8D16
secondary
#3F42C1
accent
#3BF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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