#8A9424#8A9424

#8A9424 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.8% C 0.131 H 114.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A9424
RGBrgb(138, 148, 36)
HSLhsl(65, 61%, 36%)
HSVhsv(65, 76%, 58%)
CMYKcmyk(6.8%, 0%, 75.7%, 42%)
CIE-LABlab(58.71, -17.88, 54.00)
CIE-LCHlch(58.71, 56.88, 108.32°)
OKLaboklab(63.79% -0.0546 0.119)
OKLCHoklch(63.79% 0.131 114.7)
XYZxyz(21.3902, 26.7109, 5.6976)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9424 #2E2494
analogous
#946624 #8A9424 #529424
triadic
#8A9424 #248A94 #94248A
tetradic
#8A9424 #249466 #2E2494 #942452
square
#8A9424 #249466 #2E2494 #942452
split-complementary
#8A9424 #245294 #662494
monochromatic
#2E320C #5C6318 #8A9424 #B8C530 #CCD75B

Accessibility & contrast

On white

3.31
#8A9424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8A9424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9424
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9424#FFFFFF#000000##000000
##8A94241.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C0B
Deuteranopia (green-blind)
#9E8E2E
Tritanopia (blue-blind)
#938B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9424;
/* rgb */ color: rgb(138, 148, 36);
/* oklch */ color: oklch(63.8% 0.131 114.7);
Tailwind
colors: {
  custom: {
    50: '#afb368',
    500: '#8a9424',
    950: '#000000',
  },
}
SCSS
$custom: #8a9424;
$custom-light: #afb368;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9424",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 36
  },
  "hsl": {
    "h": 65.357,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63789,
    "c": 0.13096,
    "h": 114.7
  },
  "luminance": 0.2671
}

Semantic roles & 50–950 ramp

primary
#8A9424
secondary
#6158BC
accent
#44E452
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9424

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

Preview Lab → · Contrast checker → · Palette generator →

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