#8D8D33#8D8D33

#8D8D33 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.112 H 109.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8D8D33
RGBrgb(141, 141, 51)
HSLhsl(60, 47%, 38%)
HSVhsv(60, 64%, 55%)
CMYKcmyk(0%, 0%, 63.8%, 44.7%)
CIE-LABlab(57.03, -11.99, 46.42)
CIE-LCHlch(57.03, 47.95, 104.48°)
OKLaboklab(62.54% -0.0368 0.1055)
OKLCHoklch(62.54% 0.112 109.2)
XYZxyz(21.1076, 24.9521, 6.8357)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D33 #33338D
analogous
#8D6033 #8D8D33 #608D33
triadic
#8D8D33 #338D8D #8D338D
tetradic
#8D8D33 #338D60 #33338D #8D3360
square
#8D8D33 #338D60 #33338D #8D3360
split-complementary
#8D8D33 #33608D #60338D
monochromatic
#333312 #606023 #8D8D33 #BABA43 #CBCB6F

Accessibility & contrast

On white

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

On black

5.99
#8D8D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D33
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D33#FFFFFF#000000##000000
##8D8D331.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988728
Deuteranopia (green-blind)
#998A39
Tritanopia (blue-blind)
#97847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d33;
/* rgb */ color: rgb(141, 141, 51);
/* oklch */ color: oklch(62.5% 0.112 109.2);
Tailwind
colors: {
  custom: {
    50: '#b1ae6f',
    500: '#8d8d33',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d33;
$custom-light: #b1ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d33",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62542,
    "c": 0.11176,
    "h": 109.2
  },
  "luminance": 0.24951
}

Semantic roles & 50–950 ramp

primary
#8D8D33
secondary
#6969B3
accent
#51D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D8D33

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

Preview Lab → · Contrast checker → · Palette generator →

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