#8D8D24#8D8D24

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

Color values

HEX#8D8D24
RGBrgb(141, 141, 36)
HSLhsl(60, 59%, 35%)
HSVhsv(60, 74%, 55%)
CMYKcmyk(0%, 0%, 74.5%, 44.7%)
CIE-LABlab(56.92, -12.86, 52.40)
CIE-LCHlch(56.92, 53.95, 103.79°)
OKLaboklab(62.42% -0.0409 0.1155)
OKLCHoklch(62.42% 0.123 109.5)
XYZxyz(20.8286, 24.8405, 5.3662)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D24 #24248D
analogous
#8D5924 #8D8D24 #598D24
triadic
#8D8D24 #248D8D #8D248D
tetradic
#8D8D24 #248D59 #24248D #8D2459
square
#8D8D24 #248D59 #24248D #8D2459
split-complementary
#8D8D24 #24598D #59248D
monochromatic
#2B2B0B #5C5C18 #8D8D24 #BEBE30 #D4D457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8D24#FFFFFF#000000##000000
##8D8D241.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)
#99870F
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d24;
/* rgb */ color: rgb(141, 141, 36);
/* oklch */ color: oklch(62.4% 0.123 109.5);
Tailwind
colors: {
  custom: {
    50: '#b2ae67',
    500: '#8d8d24',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d24;
$custom-light: #b2ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d24",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6242,
    "c": 0.12253,
    "h": 109.5
  },
  "luminance": 0.2484
}

Semantic roles & 50–950 ramp

primary
#8D8D24
secondary
#5454B8
accent
#45E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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