#8D8D27#8D8D27

#8D8D27 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.121 H 109.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8D8D27
RGBrgb(141, 141, 39)
HSLhsl(60, 57%, 35%)
HSVhsv(60, 72%, 55%)
CMYKcmyk(0%, 0%, 72.3%, 44.7%)
CIE-LABlab(56.94, -12.71, 51.30)
CIE-LCHlch(56.94, 52.85, 103.92°)
OKLaboklab(62.44% -0.0401 0.1138)
OKLCHoklch(62.44% 0.121 109.4)
XYZxyz(20.8763, 24.8596, 5.6177)
Luminance0.2486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D27 #27278D
analogous
#8D5A27 #8D8D27 #5A8D27
triadic
#8D8D27 #278D8D #8D278D
tetradic
#8D8D27 #278D5A #27278D #8D275A
square
#8D8D27 #278D5A #27278D #8D275A
split-complementary
#8D8D27 #275A8D #5A278D
monochromatic
#2D2D0C #5D5D1A #8D8D27 #BDBD34 #D2D25C

Accessibility & contrast

On white

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

On black

5.97
#8D8D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D27
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D27#FFFFFF#000000##000000
##8D8D271.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d27;
/* rgb */ color: rgb(141, 141, 39);
/* oklch */ color: oklch(62.4% 0.121 109.4);
Tailwind
colors: {
  custom: {
    50: '#b1ae69',
    500: '#8d8d27',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d27;
$custom-light: #b1ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d27",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62441,
    "c": 0.12065,
    "h": 109.4
  },
  "luminance": 0.24859
}

Semantic roles & 50–950 ramp

primary
#8D8D27
secondary
#5959B7
accent
#48E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8D27

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

Preview Lab → · Contrast checker → · Palette generator →

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