#8A991C#8A991C

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

Color values

HEX#8A991C
RGBrgb(138, 153, 28)
HSLhsl(67, 69%, 35%)
HSVhsv(67, 82%, 60%)
CMYKcmyk(9.8%, 0%, 81.7%, 40%)
CIE-LABlab(60.13, -20.77, 57.82)
CIE-LCHlch(60.13, 61.44, 109.76°)
OKLaboklab(64.92% -0.0633 0.1257)
OKLCHoklch(64.92% 0.141 116.7)
XYZxyz(22.0827, 28.2699, 5.3917)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A991C #2B1C99
analogous
#99691C #8A991C #4B991C
triadic
#8A991C #1C8A99 #991C8A
tetradic
#8A991C #1C9969 #2B1C99 #991C4B
square
#8A991C #1C9969 #2B1C99 #991C4B
split-complementary
#8A991C #1C4B99 #691C99
monochromatic
#2D3209 #5B6513 #8A991C #B9CD25 #CEDF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A991C#FFFFFF#000000##000000
##8A991C1.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)
#939082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a991c;
/* rgb */ color: rgb(138, 153, 28);
/* oklch */ color: oklch(64.9% 0.141 116.7);
Tailwind
colors: {
  custom: {
    50: '#b0b665',
    500: '#8a991c',
    950: '#000000',
  },
}
SCSS
$custom: #8a991c;
$custom-light: #b0b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8a991c",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 67.2,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64922,
    "c": 0.14073,
    "h": 116.7
  },
  "luminance": 0.2827
}

Semantic roles & 50–950 ramp

primary
#8A991C
secondary
#5D4FC2
accent
#3CEC51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A991C

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

Preview Lab → · Contrast checker → · Palette generator →

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