#8A9524#8A9524

#8A9524 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.0% C 0.132 H 115.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A9524
RGBrgb(138, 149, 36)
HSLhsl(66, 61%, 36%)
HSVhsv(66, 76%, 58%)
CMYKcmyk(7.4%, 0%, 75.8%, 41.6%)
CIE-LABlab(59.00, -18.39, 54.27)
CIE-LCHlch(59.00, 57.30, 108.72°)
OKLaboklab(64.02% -0.0561 0.1196)
OKLCHoklch(64.02% 0.132 115.1)
XYZxyz(21.5477, 27.0259, 5.7501)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9524 #2F2495
analogous
#956824 #8A9524 #529524
triadic
#8A9524 #248A95 #95248A
tetradic
#8A9524 #249568 #2F2495 #952452
square
#8A9524 #249568 #2F2495 #952452
split-complementary
#8A9524 #245295 #682495
monochromatic
#2F320C #5C6418 #8A9524 #B8C630 #CCD85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9524#FFFFFF#000000##000000
##8A95241.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)
#A08D0A
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9524;
/* rgb */ color: rgb(138, 149, 36);
/* oklch */ color: oklch(64.0% 0.132 115.1);
Tailwind
colors: {
  custom: {
    50: '#afb468',
    500: '#8a9524',
    950: '#000000',
  },
}
SCSS
$custom: #8a9524;
$custom-light: #afb468;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9524",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 65.841,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64024,
    "c": 0.1321,
    "h": 115.1
  },
  "luminance": 0.27026
}

Semantic roles & 50–950 ramp

primary
#8A9524
secondary
#6259BC
accent
#44E453
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9524

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

Preview Lab → · Contrast checker → · Palette generator →

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