#A8AC22#A8AC22

#A8AC22 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#A8AC22
RGBrgb(168, 172, 34)
HSLhsl(62, 67%, 40%)
HSVhsv(62, 80%, 67%)
CMYKcmyk(2.3%, 0%, 80.2%, 32.5%)
CIE-LABlab(67.98, -17.11, 63.94)
CIE-LCHlch(67.98, 66.19, 104.98°)
OKLaboklab(71.81% -0.0543 0.1387)
OKLCHoklch(71.81% 0.149 111.4)
XYZxyz(31.1908, 37.9462, 7.1944)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AC22 #2622AC
analogous
#AC6B22 #A8AC22 #63AC22
triadic
#A8AC22 #22A8AC #AC22A8
tetradic
#A8AC22 #22AC6B #2622AC #AC2263
square
#A8AC22 #22AC6B #2622AC #AC2263
split-complementary
#A8AC22 #2263AC #6B22AC
monochromatic
#44460E #767918 #A8AC22 #D2D734 #DEE167

Accessibility & contrast

On white

2.44
#A8AC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8AC22#FFFFFF#000000##000000
##A8AC221.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8ac22;
/* rgb */ color: rgb(168, 172, 34);
/* oklch */ color: oklch(71.8% 0.149 111.4);
Tailwind
colors: {
  custom: {
    50: '#c6c46b',
    500: '#a8ac22',
    950: '#000000',
  },
}
SCSS
$custom: #a8ac22;
$custom-light: #c6c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ac22",
  "rgb": {
    "r": 168,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 61.739,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.71812,
    "c": 0.14892,
    "h": 111.4
  },
  "luminance": 0.37945
}

Semantic roles & 50–950 ramp

primary
#A8AC22
secondary
#6663C7
accent
#3EEA43
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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