#8A992D#8A992D

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

Color values

HEX#8A992D
RGBrgb(138, 153, 45)
HSLhsl(68, 55%, 39%)
HSVhsv(68, 71%, 60%)
CMYKcmyk(9.8%, 0%, 70.6%, 40%)
CIE-LABlab(60.23, -19.96, 52.15)
CIE-LCHlch(60.23, 55.84, 110.95°)
OKLaboklab(65.03% -0.0596 0.1167)
OKLCHoklch(65.03% 0.131 117.1)
XYZxyz(22.3466, 28.3755, 6.7819)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A992D #3C2D99
analogous
#99722D #8A992D #54992D
triadic
#8A992D #2D8A99 #992D8A
tetradic
#8A992D #2D9972 #3C2D99 #992D54
square
#8A992D #2D9972 #3C2D99 #992D54
split-complementary
#8A992D #2D5499 #722D99
monochromatic
#353A11 #5F6A1F #8A992D #B3C63D #C6D46C

Accessibility & contrast

On white

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

On black

6.68
#8A992D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A992D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A992D#FFFFFF#000000##000000
##8A992D1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911C
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#939084
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a992d;
/* rgb */ color: rgb(138, 153, 45);
/* oklch */ color: oklch(65.0% 0.131 117.1);
Tailwind
colors: {
  custom: {
    50: '#afb76d',
    500: '#8a992d',
    950: '#000000',
  },
}
SCSS
$custom: #8a992d;
$custom-light: #afb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a992d",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 45
  },
  "hsl": {
    "h": 68.333,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65028,
    "c": 0.13103,
    "h": 117.1
  },
  "luminance": 0.28375
}

Semantic roles & 50–950 ramp

primary
#8A992D
secondary
#7367BB
accent
#4ADE5E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A992D

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

Preview Lab → · Contrast checker → · Palette generator →

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