#8F8D1D#8F8D1D

#8F8D1D is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.126 H 108.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8F8D1D
RGBrgb(143, 141, 29)
HSLhsl(59, 66%, 34%)
HSVhsv(59, 80%, 56%)
CMYKcmyk(0%, 1.4%, 79.7%, 43.9%)
CIE-LABlab(57.05, -12.26, 54.95)
CIE-LCHlch(57.05, 56.30, 102.58°)
OKLaboklab(62.56% -0.0399 0.1195)
OKLCHoklch(62.56% 0.126 108.5)
XYZxyz(21.0752, 24.9788, 4.8734)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D1D #1D1F8F
analogous
#8F541D #8F8D1D #588F1D
triadic
#8F8D1D #1D8F8D #8D1D8F
tetradic
#8F8D1D #1D8F54 #1D1F8F #8F1D58
square
#8F8D1D #1D8F54 #1D1F8F #8F1D58
split-complementary
#8F8D1D #1D588F #541D8F
monochromatic
#292908 #5C5B13 #8F8D1D #C2BF27 #DBD84C

Accessibility & contrast

On white

3.50
#8F8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8F8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8D1D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8D1D#FFFFFF#000000##000000
##8F8D1D1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f8d1d;
/* rgb */ color: rgb(143, 141, 29);
/* oklch */ color: oklch(62.6% 0.126 108.5);
Tailwind
colors: {
  custom: {
    50: '#b3ae64',
    500: '#8f8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d1d;
$custom-light: #b3ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d1d",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 58.947,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62558,
    "c": 0.12601,
    "h": 108.5
  },
  "luminance": 0.24978
}

Semantic roles & 50–950 ramp

primary
#8F8D1D
secondary
#4B4DBD
accent
#42E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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