#8A9732#8A9732

#8A9732 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.6% C 0.125 H 116.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A9732
RGBrgb(138, 151, 50)
HSLhsl(68, 50%, 39%)
HSVhsv(68, 67%, 59%)
CMYKcmyk(8.6%, 0%, 66.9%, 40.8%)
CIE-LABlab(59.68, -18.63, 49.56)
CIE-LCHlch(59.68, 52.95, 110.60°)
OKLaboklab(64.6% -0.0554 0.1121)
OKLCHoklch(64.6% 0.125 116.3)
XYZxyz(22.1241, 27.7671, 7.2111)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9732 #3F3297
analogous
#977232 #8A9732 #589732
triadic
#8A9732 #328A97 #97328A
tetradic
#8A9732 #329772 #3F3297 #973258
square
#8A9732 #329772 #3F3297 #973258
split-complementary
#8A9732 #325897 #723297
monochromatic
#363B14 #606923 #8A9732 #B1C145 #C5D173

Accessibility & contrast

On white

3.20
#8A9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8A9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9732
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9732#FFFFFF#000000##000000
##8A97321.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F24
Deuteranopia (green-blind)
#A09039
Tritanopia (blue-blind)
#938F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9732;
/* rgb */ color: rgb(138, 151, 50);
/* oklch */ color: oklch(64.6% 0.125 116.3);
Tailwind
colors: {
  custom: {
    50: '#afb570',
    500: '#8a9732',
    950: '#000000',
  },
}
SCSS
$custom: #8a9732;
$custom-light: #afb570;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9732",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 67.723,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64599,
    "c": 0.125,
    "h": 116.3
  },
  "luminance": 0.27767
}

Semantic roles & 50–950 ramp

primary
#8A9732
secondary
#766CB9
accent
#4EDA60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9732

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

Preview Lab → · Contrast checker → · Palette generator →

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