#8D8D2C#8D8D2C

#8D8D2C is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.117 H 109.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8D8D2C
RGBrgb(141, 141, 44)
HSLhsl(60, 52%, 36%)
HSVhsv(60, 69%, 55%)
CMYKcmyk(0%, 0%, 68.8%, 44.7%)
CIE-LABlab(56.97, -12.44, 49.36)
CIE-LCHlch(56.97, 50.90, 104.14°)
OKLaboklab(62.48% -0.0388 0.1106)
OKLCHoklch(62.48% 0.117 109.4)
XYZxyz(20.9647, 24.8949, 6.0832)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D2C #2C2C8D
analogous
#8D5D2C #8D8D2C #5D8D2C
triadic
#8D8D2C #2C8D8D #8D2C8D
tetradic
#8D8D2C #2C8D5D #2C2C8D #8D2C5D
square
#8D8D2C #2C8D5D #2C2C8D #8D2C5D
split-complementary
#8D8D2C #2C5D8D #5D2C8D
monochromatic
#30300F #5E5E1D #8D8D2C #BCBC3B #CFCF65

Accessibility & contrast

On white

3.51
#8D8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8D8D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D2C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D2C#FFFFFF#000000##000000
##8D8D2C1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871E
Deuteranopia (green-blind)
#9A8A33
Tritanopia (blue-blind)
#97847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d2c;
/* rgb */ color: rgb(141, 141, 44);
/* oklch */ color: oklch(62.5% 0.117 109.4);
Tailwind
colors: {
  custom: {
    50: '#b1ae6b',
    500: '#8d8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d2c;
$custom-light: #b1ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d2c",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6248,
    "c": 0.11719,
    "h": 109.4
  },
  "luminance": 0.24894
}

Semantic roles & 50–950 ramp

primary
#8D8D2C
secondary
#6060B5
accent
#4CDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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