#8E991B#8E991B

#8E991B is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.140 H 114.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8E991B
RGBrgb(142, 153, 27)
HSLhsl(65, 70%, 35%)
HSVhsv(65, 82%, 60%)
CMYKcmyk(7.2%, 0%, 82.4%, 40%)
CIE-LABlab(60.44, -19.05, 58.49)
CIE-LCHlch(60.44, 61.51, 108.04°)
OKLaboklab(65.24% -0.0588 0.1268)
OKLCHoklch(65.24% 0.14 114.9)
XYZxyz(22.7451, 28.6128, 5.3613)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E991B #261B99
analogous
#99651B #8E991B #4F991B
triadic
#8E991B #1B8E99 #991B8E
tetradic
#8E991B #1B9965 #261B99 #991B4F
square
#8E991B #1B9965 #261B99 #991B4F
split-complementary
#8E991B #1B4F99 #651B99
monochromatic
#2D3109 #5E6512 #8E991B #BECD24 #D3E04F

Accessibility & contrast

On white

3.12
#8E991B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8E991B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E991B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E991B#FFFFFF#000000##000000
##8E991B1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#989082
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8e991b;
/* rgb */ color: rgb(142, 153, 27);
/* oklch */ color: oklch(65.2% 0.140 114.9);
Tailwind
colors: {
  custom: {
    50: '#b3b665',
    500: '#8e991b',
    950: '#000000',
  },
}
SCSS
$custom: #8e991b;
$custom-light: #b3b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8e991b",
  "rgb": {
    "r": 142,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 65.238,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65244,
    "c": 0.13977,
    "h": 114.9
  },
  "luminance": 0.28612
}

Semantic roles & 50–950 ramp

primary
#8E991B
secondary
#584EC2
accent
#3BED4B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E991B

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

Preview Lab → · Contrast checker → · Palette generator →

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