#8D8D1F#8D8D1F

#8D8D1F is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.125 H 109.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8D8D1F
RGBrgb(141, 141, 31)
HSLhsl(60, 64%, 34%)
HSVhsv(60, 78%, 55%)
CMYKcmyk(0%, 0%, 78%, 44.7%)
CIE-LABlab(56.89, -13.09, 54.09)
CIE-LCHlch(56.89, 55.66, 103.60°)
OKLaboklab(62.39% -0.0419 0.1182)
OKLCHoklch(62.39% 0.125 109.5)
XYZxyz(20.7575, 24.8120, 4.9918)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D1F #1F1F8D
analogous
#8D561F #8D8D1F #568D1F
triadic
#8D8D1F #1F8D8D #8D1F8D
tetradic
#8D8D1F #1F8D56 #1F1F8D #8D1F56
square
#8D8D1F #1F8D56 #1F1F8D #8D1F56
split-complementary
#8D8D1F #1F568D #561F8D
monochromatic
#292909 #5B5B14 #8D8D1F #BFBF2A #D8D84E

Accessibility & contrast

On white

3.52
#8D8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8D8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D1F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D1F#FFFFFF#000000##000000
##8D8D1F1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8d1f;
/* rgb */ color: rgb(141, 141, 31);
/* oklch */ color: oklch(62.4% 0.125 109.5);
Tailwind
colors: {
  custom: {
    50: '#b2ae65',
    500: '#8d8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d1f;
$custom-light: #b2ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d1f",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62389,
    "c": 0.1254,
    "h": 109.5
  },
  "luminance": 0.24811
}

Semantic roles & 50–950 ramp

primary
#8D8D1F
secondary
#4D4DBB
accent
#41E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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