#8A9528#8A9528

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

Color values

HEX#8A9528
RGBrgb(138, 149, 40)
HSLhsl(66, 58%, 37%)
HSVhsv(66, 73%, 58%)
CMYKcmyk(7.4%, 0%, 73.2%, 41.6%)
CIE-LABlab(59.02, -18.19, 52.86)
CIE-LCHlch(59.02, 55.90, 108.99°)
OKLaboklab(64.05% -0.0551 0.1173)
OKLCHoklch(64.05% 0.13 115.2)
XYZxyz(21.6123, 27.0517, 6.0901)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9528 #332895
analogous
#956A28 #8A9528 #549528
triadic
#8A9528 #288A95 #95288A
tetradic
#8A9528 #28956A #332895 #952854
square
#8A9528 #28956A #332895 #952854
split-complementary
#8A9528 #285495 #6A2895
monochromatic
#31350E #5D651B #8A9528 #B7C535 #C9D562

Accessibility & contrast

On white

3.28
#8A9528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8A9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9528
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9528#FFFFFF#000000##000000
##8A95281.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D14
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9528;
/* rgb */ color: rgb(138, 149, 40);
/* oklch */ color: oklch(64.1% 0.130 115.2);
Tailwind
colors: {
  custom: {
    50: '#afb46a',
    500: '#8a9528',
    950: '#000000',
  },
}
SCSS
$custom: #8a9528;
$custom-light: #afb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9528",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 66.055,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64051,
    "c": 0.12965,
    "h": 115.2
  },
  "luminance": 0.27051
}

Semantic roles & 50–950 ramp

primary
#8A9528
secondary
#675EBB
accent
#47E156
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9528

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

Preview Lab → · Contrast checker → · Palette generator →

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