#8E8D2C#8E8D2C

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

Color values

HEX#8E8D2C
RGBrgb(142, 141, 44)
HSLhsl(59, 53%, 36%)
HSVhsv(59, 69%, 56%)
CMYKcmyk(0%, 0.7%, 69%, 44.3%)
CIE-LABlab(57.06, -11.99, 49.47)
CIE-LCHlch(57.06, 50.90, 103.62°)
OKLaboklab(62.57% -0.0377 0.1108)
OKLCHoklch(62.57% 0.117 108.8)
XYZxyz(21.1356, 24.9830, 6.0912)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D2C #2C2D8E
analogous
#8E5C2C #8E8D2C #5E8E2C
triadic
#8E8D2C #2C8E8D #8D2C8E
tetradic
#8E8D2C #2C8E5C #2C2D8E #8E2C5E
square
#8E8D2C #2C8E5C #2C2D8E #8E2C5E
split-complementary
#8E8D2C #2C5E8E #5C2C8E
monochromatic
#31300F #5F5F1E #8E8D2C #BDBB3A #CFCE65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8D2C#FFFFFF#000000##000000
##8E8D2C1.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)
#99871D
Deuteranopia (green-blind)
#9A8A33
Tritanopia (blue-blind)
#98847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8d2c;
/* rgb */ color: rgb(142, 141, 44);
/* oklch */ color: oklch(62.6% 0.117 108.8);
Tailwind
colors: {
  custom: {
    50: '#b2ae6b',
    500: '#8e8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d2c;
$custom-light: #b2ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d2c",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 59.388,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62569,
    "c": 0.11699,
    "h": 108.8
  },
  "luminance": 0.24982
}

Semantic roles & 50–950 ramp

primary
#8E8D2C
secondary
#6061B6
accent
#4DDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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