#8C992A#8C992A

#8C992A is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.2% C 0.132 H 116.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8C992A
RGBrgb(140, 153, 42)
HSLhsl(67, 57%, 38%)
HSVhsv(67, 73%, 60%)
CMYKcmyk(8.5%, 0%, 72.5%, 40%)
CIE-LABlab(60.36, -19.27, 53.47)
CIE-LCHlch(60.36, 56.84, 109.81°)
OKLaboklab(65.17% -0.0581 0.1189)
OKLCHoklch(65.17% 0.132 116)
XYZxyz(22.6249, 28.5254, 6.5041)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C992A #372A99
analogous
#996E2A #8C992A #54992A
triadic
#8C992A #2A8C99 #992A8C
tetradic
#8C992A #2A996E #372A99 #992A54
square
#8C992A #2A996E #372A99 #992A54
split-complementary
#8C992A #2A5499 #6E2A99
monochromatic
#343910 #60691D #8C992A #B7C838 #C9D668

Accessibility & contrast

On white

3.13
#8C992A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8C992A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C992A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C992A#FFFFFF#000000##000000
##8C992A1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49116
Deuteranopia (green-blind)
#A39233
Tritanopia (blue-blind)
#959083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8c992a;
/* rgb */ color: rgb(140, 153, 42);
/* oklch */ color: oklch(65.2% 0.132 116.0);
Tailwind
colors: {
  custom: {
    50: '#b1b66b',
    500: '#8c992a',
    950: '#000000',
  },
}
SCSS
$custom: #8c992a;
$custom-light: #b1b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#8c992a",
  "rgb": {
    "r": 140,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 67.027,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65168,
    "c": 0.13234,
    "h": 116
  },
  "luminance": 0.28525
}

Semantic roles & 50–950 ramp

primary
#8C992A
secondary
#6D63BC
accent
#48E059
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8C992A

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

Preview Lab → · Contrast checker → · Palette generator →

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