#8F8D12#8F8D12

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

Color values

HEX#8F8D12
RGBrgb(143, 141, 18)
HSLhsl(59, 78%, 32%)
HSVhsv(59, 87%, 56%)
CMYKcmyk(0%, 1.4%, 87.4%, 43.9%)
CIE-LABlab(57.01, -12.61, 57.88)
CIE-LCHlch(57.01, 59.23, 102.29°)
OKLaboklab(62.51% -0.0417 0.1238)
OKLCHoklch(62.51% 0.131 108.6)
XYZxyz(20.9626, 24.9338, 4.2806)
Luminance0.2493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D12 #12148F
analogous
#8F4F12 #8F8D12 #538F12
triadic
#8F8D12 #128F8D #8D128F
tetradic
#8F8D12 #128F4F #12148F #8F1253
square
#8F8D12 #128F4F #12148F #8F1253
split-complementary
#8F8D12 #12538F #4F128F
monochromatic
#222204 #59570B #8F8D12 #C5C319 #E6E336

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8D12#FFFFFF#000000##000000
##8F8D121.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)
#9A8700
Deuteranopia (green-blind)
#9B8B1F
Tritanopia (blue-blind)
#9A8378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d12;
/* rgb */ color: rgb(143, 141, 18);
/* oklch */ color: oklch(62.5% 0.131 108.6);
Tailwind
colors: {
  custom: {
    50: '#b4ae60',
    500: '#8f8d12',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d12;
$custom-light: #b4ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d12",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 18
  },
  "hsl": {
    "h": 59.04,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.62509,
    "c": 0.13065,
    "h": 108.6
  },
  "luminance": 0.24933
}

Semantic roles & 50–950 ramp

primary
#8F8D12
secondary
#3A3CC3
accent
#37F434
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8F8D12

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

Preview Lab → · Contrast checker → · Palette generator →

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