#8A991B#8A991B

#8A991B 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#8A991B
RGBrgb(138, 153, 27)
HSLhsl(67, 70%, 35%)
HSVhsv(67, 82%, 60%)
CMYKcmyk(9.8%, 0%, 82.4%, 40%)
CIE-LABlab(60.13, -20.81, 58.09)
CIE-LCHlch(60.13, 61.71, 109.71°)
OKLaboklab(64.92% -0.0635 0.1261)
OKLCHoklch(64.92% 0.141 116.7)
XYZxyz(22.0709, 28.2652, 5.3297)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A991B #2A1B99
analogous
#99691B #8A991B #4B991B
triadic
#8A991B #1B8A99 #991B8A
tetradic
#8A991B #1B9969 #2A1B99 #991B4B
square
#8A991B #1B9969 #2A1B99 #991B4B
split-complementary
#8A991B #1B4B99 #691B99
monochromatic
#2C3109 #5B6512 #8A991B #B9CD24 #CFE04F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A991B#FFFFFF#000000##000000
##8A991B1.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)
#A39228
Tritanopia (blue-blind)
#939082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a991b;
/* rgb */ color: rgb(138, 153, 27);
/* oklch */ color: oklch(64.9% 0.141 116.7);
Tailwind
colors: {
  custom: {
    50: '#b0b665',
    500: '#8a991b',
    950: '#000000',
  },
}
SCSS
$custom: #8a991b;
$custom-light: #b0b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8a991b",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 67.143,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64917,
    "c": 0.14118,
    "h": 116.7
  },
  "luminance": 0.28265
}

Semantic roles & 50–950 ramp

primary
#8A991B
secondary
#5B4EC2
accent
#3BED50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A991B

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

Preview Lab → · Contrast checker → · Palette generator →

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