#8D8D2B#8D8D2B

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

Color values

HEX#8D8D2B
RGBrgb(141, 141, 43)
HSLhsl(60, 53%, 36%)
HSVhsv(60, 70%, 55%)
CMYKcmyk(0%, 0%, 69.5%, 44.7%)
CIE-LABlab(56.97, -12.49, 49.76)
CIE-LCHlch(56.97, 51.30, 104.10°)
OKLaboklab(62.47% -0.0391 0.1112)
OKLCHoklch(62.47% 0.118 109.4)
XYZxyz(20.9461, 24.8875, 5.9854)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D2B #2B2B8D
analogous
#8D5C2B #8D8D2B #5C8D2B
triadic
#8D8D2B #2B8D8D #8D2B8D
tetradic
#8D8D2B #2B8D5C #2B2B8D #8D2B5C
square
#8D8D2B #2B8D5C #2B2B8D #8D2B5C
split-complementary
#8D8D2B #2B5C8D #5C2B8D
monochromatic
#2F2F0E #5E5E1D #8D8D2B #BCBC39 #CFCF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8D2B#FFFFFF#000000##000000
##8D8D2B1.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)
#98871C
Deuteranopia (green-blind)
#9A8A32
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d2b;
/* rgb */ color: rgb(141, 141, 43);
/* oklch */ color: oklch(62.5% 0.118 109.4);
Tailwind
colors: {
  custom: {
    50: '#b1ae6b',
    500: '#8d8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d2b;
$custom-light: #b1ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d2b",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62472,
    "c": 0.11791,
    "h": 109.4
  },
  "luminance": 0.24887
}

Semantic roles & 50–950 ramp

primary
#8D8D2B
secondary
#5E5EB6
accent
#4BDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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