#8F8D1F#8F8D1F

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

Color values

HEX#8F8D1F
RGBrgb(143, 141, 31)
HSLhsl(59, 64%, 34%)
HSVhsv(59, 78%, 56%)
CMYKcmyk(0%, 1.4%, 78.3%, 43.9%)
CIE-LABlab(57.06, -12.18, 54.32)
CIE-LCHlch(57.06, 55.67, 102.64°)
OKLaboklab(62.57% -0.0395 0.1186)
OKLCHoklch(62.57% 0.125 108.4)
XYZxyz(21.1007, 24.9890, 5.0079)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D1F #1F218F
analogous
#8F551F #8F8D1F #598F1F
triadic
#8F8D1F #1F8F8D #8D1F8F
tetradic
#8F8D1F #1F8F55 #1F218F #8F1F59
square
#8F8D1F #1F8F55 #1F218F #8F1F59
split-complementary
#8F8D1F #1F598F #551F8F
monochromatic
#2A2A09 #5D5B14 #8F8D1F #C1BF2A #D9D64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8D1F#FFFFFF#000000##000000
##8F8D1F1.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)
#998702
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#9A8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d1f;
/* rgb */ color: rgb(143, 141, 31);
/* oklch */ color: oklch(62.6% 0.125 108.4);
Tailwind
colors: {
  custom: {
    50: '#b3ae65',
    500: '#8f8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d1f;
$custom-light: #b3ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d1f",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 58.929,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62569,
    "c": 0.12498,
    "h": 108.4
  },
  "luminance": 0.24988
}

Semantic roles & 50–950 ramp

primary
#8F8D1F
secondary
#4E50BC
accent
#43E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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