#8E991F#8E991F

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

Color values

HEX#8E991F
RGBrgb(142, 153, 31)
HSLhsl(65, 66%, 36%)
HSVhsv(65, 80%, 60%)
CMYKcmyk(7.2%, 0%, 79.7%, 40%)
CIE-LABlab(60.46, -18.90, 57.35)
CIE-LCHlch(60.46, 60.38, 108.24°)
OKLaboklab(65.26% -0.0581 0.1251)
OKLCHoklch(65.26% 0.138 114.9)
XYZxyz(22.7946, 28.6326, 5.6219)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E991F #2A1F99
analogous
#99671F #8E991F #51991F
triadic
#8E991F #1F8E99 #991F8E
tetradic
#8E991F #1F9967 #2A1F99 #991F51
square
#8E991F #1F9967 #2A1F99 #991F51
split-complementary
#8E991F #1F5199 #671F99
monochromatic
#30330A #5F6615 #8E991F #BDCC29 #D1DD56

Accessibility & contrast

On white

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

On black

6.73
#8E991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E991F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E991F#FFFFFF#000000##000000
##8E991F1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#989083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8e991f;
/* rgb */ color: rgb(142, 153, 31);
/* oklch */ color: oklch(65.3% 0.138 114.9);
Tailwind
colors: {
  custom: {
    50: '#b3b666',
    500: '#8e991f',
    950: '#000000',
  },
}
SCSS
$custom: #8e991f;
$custom-light: #b3b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8e991f",
  "rgb": {
    "r": 142,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 65.41,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65264,
    "c": 0.13792,
    "h": 114.9
  },
  "luminance": 0.28632
}

Semantic roles & 50–950 ramp

primary
#8E991F
secondary
#5D54C0
accent
#3FE94E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E991F

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

Preview Lab → · Contrast checker → · Palette generator →

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