#8E8E1A#8E8E1A

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

Color values

HEX#8E8E1A
RGBrgb(142, 142, 26)
HSLhsl(60, 69%, 33%)
HSVhsv(60, 82%, 56%)
CMYKcmyk(0%, 0%, 81.7%, 44.3%)
CIE-LABlab(57.24, -13.35, 55.98)
CIE-LCHlch(57.24, 57.55, 103.42°)
OKLaboklab(62.68% -0.0432 0.1212)
OKLCHoklch(62.68% 0.129 109.6)
XYZxyz(21.0156, 25.1720, 4.7287)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8E1A #1A1A8E
analogous
#8E541A #8E8E1A #548E1A
triadic
#8E8E1A #1A8E8E #8E1A8E
tetradic
#8E8E1A #1A8E54 #1A1A8E #8E1A54
square
#8E8E1A #1A8E54 #1A1A8E #8E1A54
split-complementary
#8E8E1A #1A548E #541A8E
monochromatic
#272707 #5A5A11 #8E8E1A #C2C223 #DDDD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8E1A#FFFFFF#000000##000000
##8E8E1A1.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)
#9B8B25
Tritanopia (blue-blind)
#998479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8e1a;
/* rgb */ color: rgb(142, 142, 26);
/* oklch */ color: oklch(62.7% 0.129 109.6);
Tailwind
colors: {
  custom: {
    50: '#b3ae63',
    500: '#8e8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #8e8e1a;
$custom-light: #b3ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8e1a",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62683,
    "c": 0.12866,
    "h": 109.6
  },
  "luminance": 0.25171
}

Semantic roles & 50–950 ramp

primary
#8E8E1A
secondary
#4545BE
accent
#3CEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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