#8E8E18#8E8E18

#8E8E18 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.130 H 109.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8E8E18
RGBrgb(142, 142, 24)
HSLhsl(60, 71%, 33%)
HSVhsv(60, 83%, 56%)
CMYKcmyk(0%, 0%, 83.1%, 44.3%)
CIE-LABlab(57.23, -13.42, 56.53)
CIE-LCHlch(57.23, 58.10, 103.36°)
OKLaboklab(62.67% -0.0435 0.122)
OKLCHoklch(62.67% 0.13 109.6)
XYZxyz(20.9940, 25.1634, 4.6151)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8E18 #18188E
analogous
#8E5318 #8E8E18 #538E18
triadic
#8E8E18 #188E8E #8E188E
tetradic
#8E8E18 #188E53 #18188E #8E1853
square
#8E8E18 #188E53 #18188E #8E1853
split-complementary
#8E8E18 #18538E #53188E
monochromatic
#252506 #5A5A0F #8E8E18 #C2C221 #DFDF41

Accessibility & contrast

On white

3.48
#8E8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8E8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8E18
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8E18#FFFFFF#000000##000000
##8E8E181.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8B24
Tritanopia (blue-blind)
#998479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8e18;
/* rgb */ color: rgb(142, 142, 24);
/* oklch */ color: oklch(62.7% 0.130 109.6);
Tailwind
colors: {
  custom: {
    50: '#b3ae62',
    500: '#8e8e18',
    950: '#000000',
  },
}
SCSS
$custom: #8e8e18;
$custom-light: #b3ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8e18",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62674,
    "c": 0.12955,
    "h": 109.6
  },
  "luminance": 0.25163
}

Semantic roles & 50–950 ramp

primary
#8E8E18
secondary
#4242C0
accent
#3AEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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