#8D8E17#8D8E17

#8D8E17 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.130 H 110.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D8E17
RGBrgb(141, 142, 23)
HSLhsl(61, 72%, 32%)
HSVhsv(61, 84%, 56%)
CMYKcmyk(0.7%, 0%, 83.8%, 44.3%)
CIE-LABlab(57.14, -13.91, 56.69)
CIE-LCHlch(57.14, 58.37, 103.78°)
OKLaboklab(62.58% -0.0449 0.1222)
OKLCHoklch(62.58% 0.13 110.2)
XYZxyz(20.8130, 25.0712, 4.5533)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E17 #18178E
analogous
#8E5317 #8D8E17 #528E17
triadic
#8D8E17 #178D8E #8E178D
tetradic
#8D8E17 #178E53 #18178E #8E1752
square
#8D8E17 #178E53 #18178E #8E1752
split-complementary
#8D8E17 #17528E #53178E
monochromatic
#242506 #59590E #8D8E17 #C1C320 #DFE03F

Accessibility & contrast

On white

3.49
#8D8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8D8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8E17
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8E17#FFFFFF#000000##000000
##8D8E171.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8B23
Tritanopia (blue-blind)
#988479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e17;
/* rgb */ color: rgb(141, 142, 23);
/* oklch */ color: oklch(62.6% 0.130 110.2);
Tailwind
colors: {
  custom: {
    50: '#b2ae62',
    500: '#8d8e17',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e17;
$custom-light: #b2ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e17",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 60.504,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.6258,
    "c": 0.13021,
    "h": 110.2
  },
  "luminance": 0.25071
}

Semantic roles & 50–950 ramp

primary
#8D8E17
secondary
#4240C0
accent
#39EF3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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