#8D8B2D#8D8B2D

#8D8B2D is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.114 H 108.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8D8B2D
RGBrgb(141, 139, 45)
HSLhsl(59, 52%, 36%)
HSVhsv(59, 68%, 55%)
CMYKcmyk(0%, 1.4%, 68.1%, 44.7%)
CIE-LABlab(56.40, -11.31, 48.37)
CIE-LCHlch(56.40, 49.67, 103.16°)
OKLaboklab(62.03% -0.0356 0.1087)
OKLCHoklch(62.03% 0.114 108.1)
XYZxyz(20.6915, 24.3181, 6.0860)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B2D #2D2F8D
analogous
#8D5B2D #8D8B2D #5F8D2D
triadic
#8D8B2D #2D8D8B #8B2D8D
tetradic
#8D8B2D #2D8D5B #2D2F8D #8D2D5F
square
#8D8B2D #2D8D5B #2D2F8D #8D2D5F
split-complementary
#8D8B2D #2D5F8D #5B2D8D
monochromatic
#30300F #5F5D1E #8D8B2D #BBB93C #CECC66

Accessibility & contrast

On white

3.58
#8D8B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8D8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8B2D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8B2D#FFFFFF#000000##000000
##8D8B2D1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968520
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#978278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8b2d;
/* rgb */ color: rgb(141, 139, 45);
/* oklch */ color: oklch(62.0% 0.114 108.1);
Tailwind
colors: {
  custom: {
    50: '#b1ac6c',
    500: '#8d8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b2d;
$custom-light: #b1ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b2d",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 58.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62029,
    "c": 0.11432,
    "h": 108.1
  },
  "luminance": 0.24317
}

Semantic roles & 50–950 ramp

primary
#8D8B2D
secondary
#6163B5
accent
#50DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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