#8A9A24#8A9A24

#8A9A24 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.138 H 117.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A9A24
RGBrgb(138, 154, 36)
HSLhsl(68, 62%, 37%)
HSVhsv(68, 77%, 60%)
CMYKcmyk(10.4%, 0%, 76.6%, 39.6%)
CIE-LABlab(60.46, -20.95, 55.65)
CIE-LCHlch(60.46, 59.46, 110.63°)
OKLaboklab(65.2% -0.0631 0.1225)
OKLCHoklch(65.2% 0.138 117.3)
XYZxyz(22.3558, 28.6421, 6.0195)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A24 #34249A
analogous
#9A6F24 #8A9A24 #4F9A24
triadic
#8A9A24 #248A9A #9A248A
tetradic
#8A9A24 #249A6F #34249A #9A244F
square
#8A9A24 #249A6F #34249A #9A244F
split-complementary
#8A9A24 #244F9A #6F249A
monochromatic
#31370D #5E6818 #8A9A24 #B6CC30 #C9DA5F

Accessibility & contrast

On white

3.12
#8A9A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#8A9A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A24
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A24#FFFFFF#000000##000000
##8A9A241.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59107
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#939184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a24;
/* rgb */ color: rgb(138, 154, 36);
/* oklch */ color: oklch(65.2% 0.138 117.3);
Tailwind
colors: {
  custom: {
    50: '#afb769',
    500: '#8a9a24',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a24;
$custom-light: #afb769;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a24",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 36
  },
  "hsl": {
    "h": 68.136,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65201,
    "c": 0.13782,
    "h": 117.3
  },
  "luminance": 0.28642
}

Semantic roles & 50–950 ramp

primary
#8A9A24
secondary
#695BBF
accent
#43E559
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9A24

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

Preview Lab → · Contrast checker → · Palette generator →

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