#8D8B2A#8D8B2A

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

Color values

HEX#8D8B2A
RGBrgb(141, 139, 42)
HSLhsl(59, 54%, 36%)
HSVhsv(59, 70%, 55%)
CMYKcmyk(0%, 1.4%, 70.2%, 44.7%)
CIE-LABlab(56.38, -11.48, 49.58)
CIE-LCHlch(56.38, 50.89, 103.04°)
OKLaboklab(62% -0.0364 0.1107)
OKLCHoklch(62% 0.117 108.2)
XYZxyz(20.6358, 24.2958, 5.7926)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B2A #2A2C8D
analogous
#8D592A #8D8B2A #5D8D2A
triadic
#8D8B2A #2A8D8B #8B2A8D
tetradic
#8D8B2A #2A8D59 #2A2C8D #8D2A5D
square
#8D8B2A #2A8D59 #2A2C8D #8D2A5D
split-complementary
#8D8B2A #2A5D8D #592A8D
monochromatic
#2F2E0E #5E5D1C #8D8B2A #BCB938 #D0CE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8B2A#FFFFFF#000000##000000
##8D8B2A1.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)
#97851B
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#978278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8b2a;
/* rgb */ color: rgb(141, 139, 42);
/* oklch */ color: oklch(62.0% 0.117 108.2);
Tailwind
colors: {
  custom: {
    50: '#b1ac6a',
    500: '#8d8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b2a;
$custom-light: #b1ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b2a",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 58.788,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.11651,
    "h": 108.2
  },
  "luminance": 0.24295
}

Semantic roles & 50–950 ramp

primary
#8D8B2A
secondary
#5D5FB6
accent
#4DDD4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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