#A8AC21#A8AC21

#A8AC21 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.8% C 0.149 H 111.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#A8AC21
RGBrgb(168, 172, 33)
HSLhsl(62, 68%, 40%)
HSVhsv(62, 81%, 67%)
CMYKcmyk(2.3%, 0%, 80.8%, 32.5%)
CIE-LABlab(67.98, -17.14, 64.21)
CIE-LCHlch(67.98, 66.46, 104.95°)
OKLaboklab(71.81% -0.0544 0.1391)
OKLCHoklch(71.81% 0.149 111.4)
XYZxyz(31.1766, 37.9405, 7.1195)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AC21 #2521AC
analogous
#AC6B21 #A8AC21 #62AC21
triadic
#A8AC21 #21A8AC #AC21A8
tetradic
#A8AC21 #21AC6B #2521AC #AC2162
square
#A8AC21 #21AC6B #2521AC #AC2162
split-complementary
#A8AC21 #2162AC #6B21AC
monochromatic
#44450D #767917 #A8AC21 #D3D832 #DEE266

Accessibility & contrast

On white

2.45
#A8AC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#A8AC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AC21
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AC21#FFFFFF#000000##000000
##A8AC211.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BBA72E
Tritanopia (blue-blind)
#B4A193
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8ac21;
/* rgb */ color: rgb(168, 172, 33);
/* oklch */ color: oklch(71.8% 0.149 111.4);
Tailwind
colors: {
  custom: {
    50: '#c6c46a',
    500: '#a8ac21',
    950: '#000000',
  },
}
SCSS
$custom: #a8ac21;
$custom-light: #c6c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ac21",
  "rgb": {
    "r": 168,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 61.727,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71807,
    "c": 0.14937,
    "h": 111.4
  },
  "luminance": 0.3794
}

Semantic roles & 50–950 ramp

primary
#A8AC21
secondary
#6562C7
accent
#3DEB42
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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