#8F8F12#8F8F12

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

Color values

HEX#8F8F12
RGBrgb(143, 143, 18)
HSLhsl(60, 78%, 32%)
HSVhsv(60, 87%, 56%)
CMYKcmyk(0%, 0%, 87.4%, 43.9%)
CIE-LABlab(57.59, -13.67, 58.35)
CIE-LCHlch(57.59, 59.93, 103.19°)
OKLaboklab(62.97% -0.0446 0.1249)
OKLCHoklch(62.97% 0.133 109.7)
XYZxyz(21.2602, 25.5289, 4.3798)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8F12 #12128F
analogous
#8F5112 #8F8F12 #518F12
triadic
#8F8F12 #128F8F #8F128F
tetradic
#8F8F12 #128F51 #12128F #8F1251
square
#8F8F12 #128F51 #12128F #8F1251
split-complementary
#8F8F12 #12518F #51128F
monochromatic
#222204 #59590B #8F8F12 #C5C519 #E6E636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8F12#FFFFFF#000000##000000
##8F8F121.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)
#9B8800
Deuteranopia (green-blind)
#9D8C20
Tritanopia (blue-blind)
#9A857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8f8f12;
/* rgb */ color: rgb(143, 143, 18);
/* oklch */ color: oklch(63.0% 0.133 109.7);
Tailwind
colors: {
  custom: {
    50: '#b4af60',
    500: '#8f8f12',
    950: '#000000',
  },
}
SCSS
$custom: #8f8f12;
$custom-light: #b4af60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8f12",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.6297,
    "c": 0.1326,
    "h": 109.7
  },
  "luminance": 0.25528
}

Semantic roles & 50–950 ramp

primary
#8F8F12
secondary
#3A3AC3
accent
#34F434
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8F8F12

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

Preview Lab → · Contrast checker → · Palette generator →

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