#8A992B#8A992B

#8A992B is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.0% C 0.132 H 117.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A992B
RGBrgb(138, 153, 43)
HSLhsl(68, 56%, 38%)
HSVhsv(68, 72%, 60%)
CMYKcmyk(9.8%, 0%, 71.9%, 40%)
CIE-LABlab(60.21, -20.08, 52.90)
CIE-LCHlch(60.21, 56.58, 110.78°)
OKLaboklab(65.01% -0.0601 0.1179)
OKLCHoklch(65.01% 0.132 117)
XYZxyz(22.3090, 28.3604, 6.5839)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A992B #3A2B99
analogous
#99712B #8A992B #53992B
triadic
#8A992B #2B8A99 #992B8A
tetradic
#8A992B #2B9971 #3A2B99 #992B53
square
#8A992B #2B9971 #3A2B99 #992B53
split-complementary
#8A992B #2B5399 #712B99
monochromatic
#343910 #5F691E #8A992B #B4C83A #C6D569

Accessibility & contrast

On white

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

On black

6.67
#8A992B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A992B
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A992B#FFFFFF#000000##000000
##8A992B1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a992b;
/* rgb */ color: rgb(138, 153, 43);
/* oklch */ color: oklch(65.0% 0.132 117.0);
Tailwind
colors: {
  custom: {
    50: '#afb76c',
    500: '#8a992b',
    950: '#000000',
  },
}
SCSS
$custom: #8a992b;
$custom-light: #afb76c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a992b",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 68.182,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.13237,
    "h": 117
  },
  "luminance": 0.2836
}

Semantic roles & 50–950 ramp

primary
#8A992B
secondary
#7064BC
accent
#48DF5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A992B

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

Preview Lab → · Contrast checker → · Palette generator →

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