#8D8022#8D8022

#8D8022 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.111 H 101.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8D8022
RGBrgb(141, 128, 34)
HSLhsl(53, 61%, 34%)
HSVhsv(53, 76%, 55%)
CMYKcmyk(0%, 9.2%, 75.9%, 44.7%)
CIE-LABlab(53.19, -5.90, 49.59)
CIE-LCHlch(53.19, 49.94, 96.78°)
OKLaboklab(59.44% -0.0215 0.1092)
OKLCHoklch(59.44% 0.111 101.1)
XYZxyz(18.9933, 21.2174, 4.6080)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8022 #222F8D
analogous
#8D4B22 #8D8022 #658D22
triadic
#8D8022 #228D80 #80228D
tetradic
#8D8022 #228D4B #222F8D #8D2265
square
#8D8022 #228D4B #222F8D #8D2265
split-complementary
#8D8022 #22658D #4B228D
monochromatic
#2A260A #5C5316 #8D8022 #BEAD2E #D6C654

Accessibility & contrast

On white

4.01
#8D8022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8D8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8022
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8022#FFFFFF#000000##000000
##8D80221.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C11
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#98766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8022;
/* rgb */ color: rgb(141, 128, 34);
/* oklch */ color: oklch(59.4% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#b2a464',
    500: '#8d8022',
    950: '#000000',
  },
}
SCSS
$custom: #8d8022;
$custom-light: #b2a464;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8022",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 52.71,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59443,
    "c": 0.11129,
    "h": 101.1
  },
  "luminance": 0.21217
}

Semantic roles & 50–950 ramp

primary
#8D8022
secondary
#515EB9
accent
#57E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8022

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

Preview Lab → · Contrast checker → · Palette generator →

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