#8D8D30#8D8D30

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

Color values

HEX#8D8D30
RGBrgb(141, 141, 48)
HSLhsl(60, 49%, 37%)
HSVhsv(60, 66%, 55%)
CMYKcmyk(0%, 0%, 66%, 44.7%)
CIE-LABlab(57.00, -12.19, 47.71)
CIE-LCHlch(57.00, 49.24, 104.33°)
OKLaboklab(62.51% -0.0377 0.1078)
OKLCHoklch(62.51% 0.114 109.3)
XYZxyz(21.0436, 24.9265, 6.4985)
Luminance0.2493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D30 #30308D
analogous
#8D5F30 #8D8D30 #5F8D30
triadic
#8D8D30 #308D8D #8D308D
tetradic
#8D8D30 #308D5F #30308D #8D305F
square
#8D8D30 #308D5F #30308D #8D305F
split-complementary
#8D8D30 #305F8D #5F308D
monochromatic
#323211 #5F5F20 #8D8D30 #BBBB40 #CDCD6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8D30#FFFFFF#000000##000000
##8D8D301.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)
#988724
Deuteranopia (green-blind)
#998A36
Tritanopia (blue-blind)
#97847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d30;
/* rgb */ color: rgb(141, 141, 48);
/* oklch */ color: oklch(62.5% 0.114 109.3);
Tailwind
colors: {
  custom: {
    50: '#b1ae6d',
    500: '#8d8d30',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d30;
$custom-light: #b1ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d30",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62514,
    "c": 0.11417,
    "h": 109.3
  },
  "luminance": 0.24926
}

Semantic roles & 50–950 ramp

primary
#8D8D30
secondary
#6565B4
accent
#4FD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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