#8E8E1E#8E8E1E

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

Color values

HEX#8E8E1E
RGBrgb(142, 142, 30)
HSLhsl(60, 65%, 34%)
HSVhsv(60, 79%, 56%)
CMYKcmyk(0%, 0%, 78.9%, 44.3%)
CIE-LABlab(57.26, -13.21, 54.78)
CIE-LCHlch(57.26, 56.35, 103.55°)
OKLaboklab(62.7% -0.0424 0.1194)
OKLCHoklch(62.7% 0.127 109.6)
XYZxyz(21.0635, 25.1912, 4.9809)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8E1E #1E1E8E
analogous
#8E561E #8E8E1E #568E1E
triadic
#8E8E1E #1E8E8E #8E1E8E
tetradic
#8E8E1E #1E8E56 #1E1E8E #8E1E56
square
#8E8E1E #1E8E56 #1E1E8E #8E1E56
split-complementary
#8E8E1E #1E568E #561E8E
monochromatic
#292909 #5B5B13 #8E8E1E #C1C129 #D9D94D

Accessibility & contrast

On white

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

On black

6.04
#8E8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8E1E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8E1E#FFFFFF#000000##000000
##8E8E1E1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e8e1e;
/* rgb */ color: rgb(142, 142, 30);
/* oklch */ color: oklch(62.7% 0.127 109.6);
Tailwind
colors: {
  custom: {
    50: '#b3ae64',
    500: '#8e8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #8e8e1e;
$custom-light: #b3ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8e1e",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62704,
    "c": 0.12672,
    "h": 109.6
  },
  "luminance": 0.25191
}

Semantic roles & 50–950 ramp

primary
#8E8E1E
secondary
#4C4CBC
accent
#40E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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