#A8AD21#A8AD21

#A8AD21 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.0% C 0.150 H 111.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#A8AD21
RGBrgb(168, 173, 33)
HSLhsl(62, 68%, 40%)
HSVhsv(62, 81%, 68%)
CMYKcmyk(2.9%, 0%, 80.9%, 32.2%)
CIE-LABlab(68.26, -17.65, 64.46)
CIE-LCHlch(68.26, 66.83, 105.31°)
OKLaboklab(72.03% -0.0558 0.1396)
OKLCHoklch(72.03% 0.15 111.8)
XYZxyz(31.3676, 38.3226, 7.1832)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AD21 #2621AD
analogous
#AD6C21 #A8AD21 #62AD21
triadic
#A8AD21 #21A8AD #AD21A8
tetradic
#A8AD21 #21AD6C #2621AD #AD2162
square
#A8AD21 #21AD6C #2621AD #AD2162
split-complementary
#A8AD21 #2162AD #6C21AD
monochromatic
#44460D #767A17 #A8AD21 #D2D833 #DEE266

Accessibility & contrast

On white

2.42
#A8AD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#A8AD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AD21
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AD21#FFFFFF#000000##000000
##A8AD211.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BCA82F
Tritanopia (blue-blind)
#B4A294
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8ad21;
/* rgb */ color: rgb(168, 173, 33);
/* oklch */ color: oklch(72.0% 0.150 111.8);
Tailwind
colors: {
  custom: {
    50: '#c6c56b',
    500: '#a8ad21',
    950: '#000000',
  },
}
SCSS
$custom: #a8ad21;
$custom-light: #c6c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ad21",
  "rgb": {
    "r": 168,
    "g": 173,
    "b": 33
  },
  "hsl": {
    "h": 62.143,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.72032,
    "c": 0.15037,
    "h": 111.8
  },
  "luminance": 0.38322
}

Semantic roles & 50–950 ramp

primary
#A8AD21
secondary
#6662C7
accent
#3DEB43
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8AD21

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

Preview Lab → · Contrast checker → · Palette generator →

#A8AD21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva