#8D8718#8D8718

#8D8718 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.123 H 106.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8D8718
RGBrgb(141, 135, 24)
HSLhsl(57, 71%, 32%)
HSVhsv(57, 83%, 55%)
CMYKcmyk(0%, 4.3%, 83%, 44.7%)
CIE-LABlab(55.13, -10.13, 54.69)
CIE-LCHlch(55.13, 55.62, 100.49°)
OKLaboklab(60.97% -0.0343 0.1181)
OKLCHoklch(60.97% 0.123 106.2)
XYZxyz(19.8142, 23.0574, 4.2708)
Luminance0.2306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8718 #181E8D
analogous
#8D4C18 #8D8718 #598D18
triadic
#8D8718 #188D87 #87188D
tetradic
#8D8718 #188D4C #181E8D #8D1859
square
#8D8718 #188D4C #181E8D #8D1859
split-complementary
#8D8718 #18598D #4C188D
monochromatic
#242306 #59550F #8D8718 #C1B921 #DFD741

Accessibility & contrast

On white

3.74
#8D8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8D8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8718
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8718#FFFFFF#000000##000000
##8D87181.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8718;
/* rgb */ color: rgb(141, 135, 24);
/* oklch */ color: oklch(61.0% 0.123 106.2);
Tailwind
colors: {
  custom: {
    50: '#b2a961',
    500: '#8d8718',
    950: '#000000',
  },
}
SCSS
$custom: #8d8718;
$custom-light: #b2a961;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8718",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 56.923,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60974,
    "c": 0.12296,
    "h": 106.2
  },
  "luminance": 0.23057
}

Semantic roles & 50–950 ramp

primary
#8D8718
secondary
#4248BF
accent
#43EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8718

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

Preview Lab → · Contrast checker → · Palette generator →

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