#8A991D#8A991D

#8A991D is a light, vivid yellow. Relative luminance 0.283; OKLCH L 64.9% C 0.140 H 116.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A991D
RGBrgb(138, 153, 29)
HSLhsl(67, 68%, 36%)
HSVhsv(67, 81%, 60%)
CMYKcmyk(9.8%, 0%, 81%, 40%)
CIE-LABlab(60.14, -20.74, 57.54)
CIE-LCHlch(60.14, 61.16, 109.82°)
OKLaboklab(64.93% -0.0631 0.1253)
OKLCHoklch(64.93% 0.14 116.7)
XYZxyz(22.0948, 28.2747, 5.4558)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A991D #2C1D99
analogous
#996A1D #8A991D #4C991D
triadic
#8A991D #1D8A99 #991D8A
tetradic
#8A991D #1D996A #2C1D99 #991D4C
square
#8A991D #1D996A #2C1D99 #991D4C
split-complementary
#8A991D #1D4C99 #6A1D99
monochromatic
#2D3209 #5C6613 #8A991D #B8CC27 #CDDE52

Accessibility & contrast

On white

3.16
#8A991D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8A991D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A991D
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A991D#FFFFFF#000000##000000
##8A991D1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#939083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a991d;
/* rgb */ color: rgb(138, 153, 29);
/* oklch */ color: oklch(64.9% 0.140 116.7);
Tailwind
colors: {
  custom: {
    50: '#b0b665',
    500: '#8a991d',
    950: '#000000',
  },
}
SCSS
$custom: #8a991d;
$custom-light: #b0b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8a991d",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 29
  },
  "hsl": {
    "h": 67.258,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64926,
    "c": 0.14027,
    "h": 116.7
  },
  "luminance": 0.28274
}

Semantic roles & 50–950 ramp

primary
#8A991D
secondary
#5E51C1
accent
#3DEB52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A991D

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

Preview Lab → · Contrast checker → · Palette generator →

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