#8D8618#8D8618

#8D8618 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.122 H 105.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D8618
RGBrgb(141, 134, 24)
HSLhsl(56, 71%, 32%)
HSVhsv(56, 83%, 55%)
CMYKcmyk(0%, 5%, 83%, 44.7%)
CIE-LABlab(54.84, -9.59, 54.44)
CIE-LCHlch(54.84, 55.28, 99.99°)
OKLaboklab(60.75% -0.0328 0.1176)
OKLCHoklch(60.75% 0.122 105.6)
XYZxyz(19.6753, 22.7796, 4.2245)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8618 #181F8D
analogous
#8D4B18 #8D8618 #5A8D18
triadic
#8D8618 #188D86 #86188D
tetradic
#8D8618 #188D4B #181F8D #8D185A
square
#8D8618 #188D4B #181F8D #8D185A
split-complementary
#8D8618 #185A8D #4B188D
monochromatic
#242306 #59540F #8D8618 #C1B821 #DFD541

Accessibility & contrast

On white

3.78
#8D8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8D8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8618
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8618#FFFFFF#000000##000000
##8D86181.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8618;
/* rgb */ color: rgb(141, 134, 24);
/* oklch */ color: oklch(60.7% 0.122 105.6);
Tailwind
colors: {
  custom: {
    50: '#b2a861',
    500: '#8d8618',
    950: '#000000',
  },
}
SCSS
$custom: #8d8618;
$custom-light: #b2a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8618",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 56.41,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.12203,
    "h": 105.6
  },
  "luminance": 0.22779
}

Semantic roles & 50–950 ramp

primary
#8D8618
secondary
#4249BF
accent
#45EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8618

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

Preview Lab → · Contrast checker → · Palette generator →

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