#8D8D3E#8D8D3E

#8D8D3E is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.102 H 109.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D8D3E
RGBrgb(141, 141, 62)
HSLhsl(60, 39%, 40%)
HSVhsv(60, 56%, 55%)
CMYKcmyk(0%, 0%, 56%, 44.7%)
CIE-LABlab(57.13, -11.15, 41.40)
CIE-LCHlch(57.13, 42.88, 105.08°)
OKLaboklab(62.66% -0.0332 0.0963)
OKLCHoklch(62.66% 0.102 109)
XYZxyz(21.3794, 25.0608, 8.2675)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D3E #3E3E8D
analogous
#8D663E #8D8D3E #668D3E
triadic
#8D8D3E #3E8D8D #8D3E8D
tetradic
#8D8D3E #3E8D66 #3E3E8D #8D3E66
square
#8D8D3E #3E8D66 #3E3E8D #8D3E66
split-complementary
#8D8D3E #3E668D #663E8D
monochromatic
#383819 #62622B #8D8D3E #B4B454 #C7C77F

Accessibility & contrast

On white

3.49
#8D8D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8D8D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D3E
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D3E#FFFFFF#000000##000000
##8D8D3E1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978836
Deuteranopia (green-blind)
#988A42
Tritanopia (blue-blind)
#96857C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d3e;
/* rgb */ color: rgb(141, 141, 62);
/* oklch */ color: oklch(62.7% 0.102 109.0);
Tailwind
colors: {
  custom: {
    50: '#b0ae76',
    500: '#8d8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d3e;
$custom-light: #b0ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d3e",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 60,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62661,
    "c": 0.1019,
    "h": 109
  },
  "luminance": 0.2506
}

Semantic roles & 50–950 ramp

primary
#8D8D3E
secondary
#7676B1
accent
#59CF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8D8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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