#8E982E#8E982E

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

Color values

HEX#8E982E
RGBrgb(142, 152, 46)
HSLhsl(66, 54%, 39%)
HSVhsv(66, 70%, 60%)
CMYKcmyk(6.6%, 0%, 69.7%, 40.4%)
CIE-LABlab(60.25, -17.65, 51.88)
CIE-LCHlch(60.25, 54.80, 108.79°)
OKLaboklab(65.13% -0.0533 0.1162)
OKLCHoklch(65.13% 0.128 114.6)
XYZxyz(22.8773, 28.4049, 6.8618)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E982E #382E98
analogous
#986D2E #8E982E #59982E
triadic
#8E982E #2E8E98 #982E8E
tetradic
#8E982E #2E986D #382E98 #982E59
square
#8E982E #2E986D #382E98 #982E59
split-complementary
#8E982E #2E5998 #6D2E98
monochromatic
#363A12 #626920 #8E982E #B8C53E #C9D36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E982E#FFFFFF#000000##000000
##8E982E1.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)
#A3901D
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#978F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8e982e;
/* rgb */ color: rgb(142, 152, 46);
/* oklch */ color: oklch(65.1% 0.128 114.6);
Tailwind
colors: {
  custom: {
    50: '#b2b66d',
    500: '#8e982e',
    950: '#000000',
  },
}
SCSS
$custom: #8e982e;
$custom-light: #b2b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e982e",
  "rgb": {
    "r": 142,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 65.66,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65129,
    "c": 0.12784,
    "h": 114.6
  },
  "luminance": 0.28405
}

Semantic roles & 50–950 ramp

primary
#8E982E
secondary
#6F68BA
accent
#4BDD59
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E982E

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

Preview Lab → · Contrast checker → · Palette generator →

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