#8A991F#8A991F

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

Color values

HEX#8A991F
RGBrgb(138, 153, 31)
HSLhsl(67, 66%, 36%)
HSVhsv(67, 80%, 60%)
CMYKcmyk(9.8%, 0%, 79.7%, 40%)
CIE-LABlab(60.15, -20.66, 56.95)
CIE-LCHlch(60.15, 60.58, 109.94°)
OKLaboklab(64.94% -0.0628 0.1244)
OKLCHoklch(64.94% 0.139 116.8)
XYZxyz(22.1204, 28.2850, 5.5903)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A991F #2E1F99
analogous
#996B1F #8A991F #4D991F
triadic
#8A991F #1F8A99 #991F8A
tetradic
#8A991F #1F996B #2E1F99 #991F4D
square
#8A991F #1F996B #2E1F99 #991F4D
split-complementary
#8A991F #1F4D99 #6B1F99
monochromatic
#2E330A #5C6615 #8A991F #B8CC29 #CCDD56

Accessibility & contrast

On white

3.15
#8A991F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8A991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A991F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A991F#FFFFFF#000000##000000
##8A991F1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a991f;
/* rgb */ color: rgb(138, 153, 31);
/* oklch */ color: oklch(64.9% 0.139 116.8);
Tailwind
colors: {
  custom: {
    50: '#b0b666',
    500: '#8a991f',
    950: '#000000',
  },
}
SCSS
$custom: #8a991f;
$custom-light: #b0b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8a991f",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 67.377,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64937,
    "c": 0.13931,
    "h": 116.8
  },
  "luminance": 0.28285
}

Semantic roles & 50–950 ramp

primary
#8A991F
secondary
#6154C0
accent
#3FE954
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A991F

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

Preview Lab → · Contrast checker → · Palette generator →

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