#8A9832#8A9832

#8A9832 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.8% C 0.126 H 116.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8A9832
RGBrgb(138, 152, 50)
HSLhsl(68, 50%, 40%)
HSVhsv(68, 67%, 60%)
CMYKcmyk(9.2%, 0%, 67.1%, 40.4%)
CIE-LABlab(59.97, -19.14, 49.86)
CIE-LCHlch(59.97, 53.41, 111.00°)
OKLaboklab(64.83% -0.0568 0.1127)
OKLCHoklch(64.83% 0.126 116.7)
XYZxyz(22.2857, 28.0903, 7.2650)
Luminance0.2809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9832 #403298
analogous
#987332 #8A9832 #579832
triadic
#8A9832 #328A98 #98328A
tetradic
#8A9832 #329873 #403298 #983257
square
#8A9832 #329873 #403298 #983257
split-complementary
#8A9832 #325798 #733298
monochromatic
#363C14 #606A23 #8A9832 #B1C245 #C4D173

Accessibility & contrast

On white

3.17
#8A9832 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#8A9832 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9832
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9832#FFFFFF#000000##000000
##8A98321.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29024
Deuteranopia (green-blind)
#A19139
Tritanopia (blue-blind)
#929083
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9832;
/* rgb */ color: rgb(138, 152, 50);
/* oklch */ color: oklch(64.8% 0.126 116.7);
Tailwind
colors: {
  custom: {
    50: '#afb670',
    500: '#8a9832',
    950: '#000000',
  },
}
SCSS
$custom: #8a9832;
$custom-light: #afb670;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9832",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 50
  },
  "hsl": {
    "h": 68.235,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64834,
    "c": 0.1262,
    "h": 116.7
  },
  "luminance": 0.2809
}

Semantic roles & 50–950 ramp

primary
#8A9832
secondary
#776DB9
accent
#4EDA61
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9832

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

Preview Lab → · Contrast checker → · Palette generator →

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