#8E8D2D#8E8D2D

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

Color values

HEX#8E8D2D
RGBrgb(142, 141, 45)
HSLhsl(59, 52%, 37%)
HSVhsv(59, 68%, 56%)
CMYKcmyk(0%, 0.7%, 68.3%, 44.3%)
CIE-LABlab(57.07, -11.93, 49.07)
CIE-LCHlch(57.07, 50.50, 103.66°)
OKLaboklab(62.58% -0.0374 0.1101)
OKLCHoklch(62.58% 0.116 108.8)
XYZxyz(21.1546, 24.9906, 6.1914)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D2D #2D2E8E
analogous
#8E5D2D #8E8D2D #5F8E2D
triadic
#8E8D2D #2D8E8D #8D2D8E
tetradic
#8E8D2D #2D8E5D #2D2E8E #8E2D5F
square
#8E8D2D #2D8E5D #2D2E8E #8E2D5F
split-complementary
#8E8D2D #2D5F8E #5D2D8E
monochromatic
#313110 #605F1E #8E8D2D #BCBB3C #CFCE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8D2D#FFFFFF#000000##000000
##8E8D2D1.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)
#98871F
Deuteranopia (green-blind)
#9A8A33
Tritanopia (blue-blind)
#98847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8d2d;
/* rgb */ color: rgb(142, 141, 45);
/* oklch */ color: oklch(62.6% 0.116 108.8);
Tailwind
colors: {
  custom: {
    50: '#b2ae6c',
    500: '#8e8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d2d;
$custom-light: #b2ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d2d",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 59.381,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62578,
    "c": 0.11627,
    "h": 108.8
  },
  "luminance": 0.2499
}

Semantic roles & 50–950 ramp

primary
#8E8D2D
secondary
#6162B5
accent
#4EDB4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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