#8E8D1A#8E8D1A

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

Color values

HEX#8E8D1A
RGBrgb(142, 141, 26)
HSLhsl(59, 69%, 33%)
HSVhsv(59, 82%, 56%)
CMYKcmyk(0%, 0.7%, 81.7%, 44.3%)
CIE-LABlab(56.95, -12.82, 55.73)
CIE-LCHlch(56.95, 57.18, 102.96°)
OKLaboklab(62.45% -0.0417 0.1207)
OKLCHoklch(62.45% 0.128 109.1)
XYZxyz(20.8675, 24.8758, 4.6794)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D1A #1A1B8E
analogous
#8E531A #8E8D1A #558E1A
triadic
#8E8D1A #1A8E8D #8D1A8E
tetradic
#8E8D1A #1A8E53 #1A1B8E #8E1A55
square
#8E8D1A #1A8E53 #1A1B8E #8E1A55
split-complementary
#8E8D1A #1A558E #531A8E
monochromatic
#272607 #5A5A11 #8E8D1A #C2C023 #DDDC45

Accessibility & contrast

On white

3.51
#8E8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8E8D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8D1A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8D1A#FFFFFF#000000##000000
##8E8D1A1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e8d1a;
/* rgb */ color: rgb(142, 141, 26);
/* oklch */ color: oklch(62.5% 0.128 109.1);
Tailwind
colors: {
  custom: {
    50: '#b3ae63',
    500: '#8e8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d1a;
$custom-light: #b3ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d1a",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 59.483,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62452,
    "c": 0.12767,
    "h": 109.1
  },
  "luminance": 0.24875
}

Semantic roles & 50–950 ramp

primary
#8E8D1A
secondary
#4546BE
accent
#3DEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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