#8D8D38#8D8D38

#8D8D38 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.107 H 109.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8D8D38
RGBrgb(141, 141, 56)
HSLhsl(60, 43%, 39%)
HSVhsv(60, 60%, 55%)
CMYKcmyk(0%, 0%, 60.3%, 44.7%)
CIE-LABlab(57.07, -11.63, 44.20)
CIE-LCHlch(57.07, 45.70, 104.75°)
OKLaboklab(62.59% -0.0352 0.1015)
OKLCHoklch(62.59% 0.107 109.1)
XYZxyz(21.2238, 24.9986, 7.4478)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D38 #38388D
analogous
#8D6238 #8D8D38 #628D38
triadic
#8D8D38 #388D8D #8D388D
tetradic
#8D8D38 #388D62 #38388D #8D3862
square
#8D8D38 #388D62 #38388D #8D3862
split-complementary
#8D8D38 #38628D #62388D
monochromatic
#353515 #616127 #8D8D38 #B7B74B #C9C977

Accessibility & contrast

On white

3.50
#8D8D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8D8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D38
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D38#FFFFFF#000000##000000
##8D8D381.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872E
Deuteranopia (green-blind)
#998A3D
Tritanopia (blue-blind)
#96857B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d38;
/* rgb */ color: rgb(141, 141, 56);
/* oklch */ color: oklch(62.6% 0.107 109.1);
Tailwind
colors: {
  custom: {
    50: '#b1ae72',
    500: '#8d8d38',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d38;
$custom-light: #b1ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d38",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62593,
    "c": 0.10747,
    "h": 109.1
  },
  "luminance": 0.24998
}

Semantic roles & 50–950 ramp

primary
#8D8D38
secondary
#6F6FB2
accent
#55D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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