#8D8722#8D8722

#8D8722 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.118 H 105.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8D8722
RGBrgb(141, 135, 34)
HSLhsl(57, 61%, 34%)
HSVhsv(57, 76%, 55%)
CMYKcmyk(0%, 4.3%, 75.9%, 44.7%)
CIE-LABlab(55.18, -9.73, 51.48)
CIE-LCHlch(55.18, 52.39, 100.71°)
OKLaboklab(61.03% -0.0323 0.1132)
OKLCHoklch(61.03% 0.118 105.9)
XYZxyz(19.9380, 23.1069, 4.9229)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8722 #22288D
analogous
#8D5222 #8D8722 #5D8D22
triadic
#8D8722 #228D87 #87228D
tetradic
#8D8722 #228D52 #22288D #8D225D
square
#8D8722 #228D52 #22288D #8D225D
split-complementary
#8D8722 #225D8D #52228D
monochromatic
#2A290A #5C5816 #8D8722 #BEB62E #D6CE54

Accessibility & contrast

On white

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

On black

5.62
#8D8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8722
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8722#FFFFFF#000000##000000
##8D87221.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820D
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#987E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8722;
/* rgb */ color: rgb(141, 135, 34);
/* oklch */ color: oklch(61.0% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#b2a965',
    500: '#8d8722',
    950: '#000000',
  },
}
SCSS
$custom: #8d8722;
$custom-light: #b2a965;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8722",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 56.636,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.6103,
    "c": 0.11771,
    "h": 105.9
  },
  "luminance": 0.23106
}

Semantic roles & 50–950 ramp

primary
#8D8722
secondary
#5157B9
accent
#4DE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8722

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

Preview Lab → · Contrast checker → · Palette generator →

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