#8F8F16#8F8F16

#8F8F16 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.131 H 109.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8F8F16
RGBrgb(143, 143, 22)
HSLhsl(60, 73%, 32%)
HSVhsv(60, 85%, 56%)
CMYKcmyk(0%, 0%, 84.6%, 43.9%)
CIE-LABlab(57.60, -13.56, 57.41)
CIE-LCHlch(57.60, 58.99, 103.29°)
OKLaboklab(62.99% -0.0441 0.1235)
OKLCHoklch(62.99% 0.131 109.6)
XYZxyz(21.2958, 25.5432, 4.5674)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8F16 #16168F
analogous
#8F5316 #8F8F16 #538F16
triadic
#8F8F16 #168F8F #8F168F
tetradic
#8F8F16 #168F53 #16168F #8F1653
square
#8F8F16 #168F53 #16168F #8F1653
split-complementary
#8F8F16 #16538F #53168F
monochromatic
#252506 #5A5A0E #8F8F16 #C4C41E #E1E13E

Accessibility & contrast

On white

3.44
#8F8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#8F8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8F16
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8F16#FFFFFF#000000##000000
##8F8F161.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9D8C22
Tritanopia (blue-blind)
#9A857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8f8f16;
/* rgb */ color: rgb(143, 143, 22);
/* oklch */ color: oklch(63.0% 0.131 109.6);
Tailwind
colors: {
  custom: {
    50: '#b4af61',
    500: '#8f8f16',
    950: '#000000',
  },
}
SCSS
$custom: #8f8f16;
$custom-light: #b4af61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8f16",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62985,
    "c": 0.13114,
    "h": 109.6
  },
  "luminance": 0.25542
}

Semantic roles & 50–950 ramp

primary
#8F8F16
secondary
#3F3FC1
accent
#38F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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