#8A9532#8A9532

#8A9532 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.1% C 0.123 H 115.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A9532
RGBrgb(138, 149, 50)
HSLhsl(67, 50%, 39%)
HSVhsv(67, 66%, 58%)
CMYKcmyk(7.4%, 0%, 66.4%, 41.6%)
CIE-LABlab(59.09, -17.59, 48.95)
CIE-LCHlch(59.09, 52.02, 109.77°)
OKLaboklab(64.13% -0.0525 0.1108)
OKLCHoklch(64.13% 0.123 115.4)
XYZxyz(21.8049, 27.1288, 7.1047)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9532 #3D3295
analogous
#956F32 #8A9532 #599532
triadic
#8A9532 #328A95 #95328A
tetradic
#8A9532 #32956F #3D3295 #953259
square
#8A9532 #32956F #3D3295 #953259
split-complementary
#8A9532 #325995 #6F3295
monochromatic
#353913 #606723 #8A9532 #B2C044 #C5D072

Accessibility & contrast

On white

3.27
#8A9532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8A9532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9532
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9532#FFFFFF#000000##000000
##8A95321.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E25
Deuteranopia (green-blind)
#9F8F39
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9532;
/* rgb */ color: rgb(138, 149, 50);
/* oklch */ color: oklch(64.1% 0.123 115.4);
Tailwind
colors: {
  custom: {
    50: '#afb46f',
    500: '#8a9532',
    950: '#000000',
  },
}
SCSS
$custom: #8a9532;
$custom-light: #afb46f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9532",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 50
  },
  "hsl": {
    "h": 66.667,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6413,
    "c": 0.1226,
    "h": 115.4
  },
  "luminance": 0.27128
}

Semantic roles & 50–950 ramp

primary
#8A9532
secondary
#746BB8
accent
#4FD95E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9532

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

Preview Lab → · Contrast checker → · Palette generator →

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