#8E982D#8E982D

#8E982D is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.1% C 0.129 H 114.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8E982D
RGBrgb(142, 152, 45)
HSLhsl(66, 54%, 39%)
HSVhsv(66, 70%, 60%)
CMYKcmyk(6.6%, 0%, 70.4%, 40.4%)
CIE-LABlab(60.25, -17.71, 52.27)
CIE-LCHlch(60.25, 55.19, 108.72°)
OKLaboklab(65.12% -0.0536 0.1168)
OKLCHoklch(65.12% 0.129 114.6)
XYZxyz(22.8578, 28.3971, 6.7592)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E982D #372D98
analogous
#986C2D #8E982D #58982D
triadic
#8E982D #2D8E98 #982D8E
tetradic
#8E982D #2D986C #372D98 #982D58
square
#8E982D #2D986C #372D98 #982D58
split-complementary
#8E982D #2D5898 #6C2D98
monochromatic
#363A11 #62691F #8E982D #B9C53D #CAD36C

Accessibility & contrast

On white

3.14
#8E982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#8E982D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E982D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E982D#FFFFFF#000000##000000
##8E982D1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901C
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#978F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8e982d;
/* rgb */ color: rgb(142, 152, 45);
/* oklch */ color: oklch(65.1% 0.129 114.6);
Tailwind
colors: {
  custom: {
    50: '#b2b66d',
    500: '#8e982d',
    950: '#000000',
  },
}
SCSS
$custom: #8e982d;
$custom-light: #b2b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e982d",
  "rgb": {
    "r": 142,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 65.607,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65121,
    "c": 0.12853,
    "h": 114.6
  },
  "luminance": 0.28397
}

Semantic roles & 50–950 ramp

primary
#8E982D
secondary
#6E66BA
accent
#4ADE58
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E982D

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

Preview Lab → · Contrast checker → · Palette generator →

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