#8A9C24#8A9C24

#8A9C24 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.7% C 0.140 H 118.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A9C24
RGBrgb(138, 156, 36)
HSLhsl(69, 63%, 38%)
HSVhsv(69, 77%, 61%)
CMYKcmyk(11.5%, 0%, 76.9%, 38.8%)
CIE-LABlab(61.05, -21.96, 56.19)
CIE-LCHlch(61.05, 60.33, 111.34°)
OKLaboklab(65.67% -0.0659 0.1237)
OKLCHoklch(65.67% 0.14 118.1)
XYZxyz(22.6887, 29.3078, 6.1305)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C24 #36249C
analogous
#9C7224 #8A9C24 #4E9C24
triadic
#8A9C24 #248A9C #9C248A
tetradic
#8A9C24 #249C72 #36249C #9C244E
square
#8A9C24 #249C72 #36249C #9C244E
split-complementary
#8A9C24 #244E9C #72249C
monochromatic
#32390D #5E6A19 #8A9C24 #B6CE2F #C8DA60

Accessibility & contrast

On white

3.06
#8A9C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8A9C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C24
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C24#FFFFFF#000000##000000
##8A9C241.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79305
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#939385
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9c24;
/* rgb */ color: rgb(138, 156, 36);
/* oklch */ color: oklch(65.7% 0.140 118.1);
Tailwind
colors: {
  custom: {
    50: '#afb969',
    500: '#8a9c24',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c24;
$custom-light: #afb969;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c24",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 36
  },
  "hsl": {
    "h": 69,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65674,
    "c": 0.14014,
    "h": 118.1
  },
  "luminance": 0.29308
}

Semantic roles & 50–950 ramp

primary
#8A9C24
secondary
#6B5CBF
accent
#42E65B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9C24

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

Preview Lab → · Contrast checker → · Palette generator →

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