#8A992F#8A992F

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

Color values

HEX#8A992F
RGBrgb(138, 153, 47)
HSLhsl(68, 53%, 39%)
HSVhsv(68, 69%, 60%)
CMYKcmyk(9.8%, 0%, 69.3%, 40%)
CIE-LABlab(60.24, -19.84, 51.37)
CIE-LCHlch(60.24, 55.07, 111.12°)
OKLaboklab(65.04% -0.0591 0.1154)
OKLCHoklch(65.04% 0.13 117.1)
XYZxyz(22.3860, 28.3912, 6.9895)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A992F #3E2F99
analogous
#99732F #8A992F #55992F
triadic
#8A992F #2F8A99 #992F8A
tetradic
#8A992F #2F9973 #3E2F99 #992F55
square
#8A992F #2F9973 #3E2F99 #992F55
split-complementary
#8A992F #2F5599 #732F99
monochromatic
#363B12 #606A21 #8A992F #B2C541 #C5D36F

Accessibility & contrast

On white

3.14
#8A992F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A992F#FFFFFF#000000##000000
##8A992F1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911F
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#929084
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a992f;
/* rgb */ color: rgb(138, 153, 47);
/* oklch */ color: oklch(65.0% 0.130 117.1);
Tailwind
colors: {
  custom: {
    50: '#afb76e',
    500: '#8a992f',
    950: '#000000',
  },
}
SCSS
$custom: #8a992f;
$custom-light: #afb76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a992f",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 68.491,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65044,
    "c": 0.12963,
    "h": 117.1
  },
  "luminance": 0.28391
}

Semantic roles & 50–950 ramp

primary
#8A992F
secondary
#7569BA
accent
#4BDC60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A992F

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

Preview Lab → · Contrast checker → · Palette generator →

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