#8E8D18#8E8D18

#8E8D18 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.129 H 109.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8E8D18
RGBrgb(142, 141, 24)
HSLhsl(59, 71%, 33%)
HSVhsv(59, 83%, 56%)
CMYKcmyk(0%, 0.7%, 83.1%, 44.3%)
CIE-LABlab(56.95, -12.89, 56.29)
CIE-LCHlch(56.95, 57.74, 102.90°)
OKLaboklab(62.44% -0.042 0.1215)
OKLCHoklch(62.44% 0.129 109.1)
XYZxyz(20.8459, 24.8672, 4.5657)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D18 #18198E
analogous
#8E5218 #8E8D18 #548E18
triadic
#8E8D18 #188E8D #8D188E
tetradic
#8E8D18 #188E52 #18198E #8E1854
square
#8E8D18 #188E52 #18198E #8E1854
split-complementary
#8E8D18 #18548E #52188E
monochromatic
#252506 #5A590F #8E8D18 #C2C121 #DFDE41

Accessibility & contrast

On white

3.52
#8E8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8E8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8D18
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8D18#FFFFFF#000000##000000
##8E8D181.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9B8A23
Tritanopia (blue-blind)
#998378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8d18;
/* rgb */ color: rgb(142, 141, 24);
/* oklch */ color: oklch(62.4% 0.129 109.1);
Tailwind
colors: {
  custom: {
    50: '#b3ae62',
    500: '#8e8d18',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d18;
$custom-light: #b3ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d18",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 59.492,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62443,
    "c": 0.12855,
    "h": 109.1
  },
  "luminance": 0.24866
}

Semantic roles & 50–950 ramp

primary
#8E8D18
secondary
#4243C0
accent
#3BEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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