#8A8D24#8A8D24

#8A8D24 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.2% C 0.123 H 111.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A8D24
RGBrgb(138, 141, 36)
HSLhsl(62, 59%, 35%)
HSVhsv(62, 74%, 55%)
CMYKcmyk(2.1%, 0%, 74.5%, 44.7%)
CIE-LABlab(56.66, -14.21, 52.06)
CIE-LCHlch(56.66, 53.97, 105.27°)
OKLaboklab(62.15% -0.0445 0.1149)
OKLCHoklch(62.15% 0.123 111.1)
XYZxyz(20.3252, 24.5809, 5.3426)
Luminance0.2458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D24 #27248D
analogous
#8D5B24 #8A8D24 #568D24
triadic
#8A8D24 #248A8D #8D248A
tetradic
#8A8D24 #248D5B #27248D #8D2456
square
#8A8D24 #248D5B #27248D #8D2456
split-complementary
#8A8D24 #24568D #5B248D
monochromatic
#2B2B0B #5A5C18 #8A8D24 #BABE30 #D1D457

Accessibility & contrast

On white

3.55
#8A8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8A8D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D24
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D24#FFFFFF#000000##000000
##8A8D241.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860F
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#948479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d24;
/* rgb */ color: rgb(138, 141, 36);
/* oklch */ color: oklch(62.2% 0.123 111.1);
Tailwind
colors: {
  custom: {
    50: '#afae67',
    500: '#8a8d24',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d24;
$custom-light: #afae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d24",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 61.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62154,
    "c": 0.12323,
    "h": 111.1
  },
  "luminance": 0.2458
}

Semantic roles & 50–950 ramp

primary
#8A8D24
secondary
#5754B8
accent
#45E34A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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