#8E8D1B#8E8D1B

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

Color values

HEX#8E8D1B
RGBrgb(142, 141, 27)
HSLhsl(59, 68%, 33%)
HSVhsv(59, 81%, 56%)
CMYKcmyk(0%, 0.7%, 81%, 44.3%)
CIE-LABlab(56.96, -12.79, 55.44)
CIE-LCHlch(56.96, 56.89, 102.99°)
OKLaboklab(62.46% -0.0415 0.1202)
OKLCHoklch(62.46% 0.127 109)
XYZxyz(20.8789, 24.8803, 4.7393)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D1B #1B1C8E
analogous
#8E531B #8E8D1B #558E1B
triadic
#8E8D1B #1B8E8D #8D1B8E
tetradic
#8E8D1B #1B8E53 #1B1C8E #8E1B55
square
#8E8D1B #1B8E53 #1B1C8E #8E1B55
split-complementary
#8E8D1B #1B558E #531B8E
monochromatic
#272707 #5B5A11 #8E8D1B #C1C025 #DCDB47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8D1B#FFFFFF#000000##000000
##8E8D1B1.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: #8e8d1b;
/* rgb */ color: rgb(142, 141, 27);
/* oklch */ color: oklch(62.5% 0.127 109.0);
Tailwind
colors: {
  custom: {
    50: '#b3ae63',
    500: '#8e8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d1b;
$custom-light: #b3ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d1b",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 59.478,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62457,
    "c": 0.1272,
    "h": 109
  },
  "luminance": 0.2488
}

Semantic roles & 50–950 ramp

primary
#8E8D1B
secondary
#4748BE
accent
#3EEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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