#A8AC28#A8AC28

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

Color values

HEX#A8AC28
RGBrgb(168, 172, 40)
HSLhsl(62, 62%, 42%)
HSVhsv(62, 77%, 67%)
CMYKcmyk(2.3%, 0%, 76.7%, 32.5%)
CIE-LABlab(68.01, -16.88, 62.17)
CIE-LCHlch(68.01, 64.42, 105.19°)
OKLaboklab(71.84% -0.0532 0.136)
OKLCHoklch(71.84% 0.146 111.4)
XYZxyz(31.2851, 37.9839, 7.6907)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AC28 #2C28AC
analogous
#AC6E28 #A8AC28 #66AC28
triadic
#A8AC28 #28A8AC #AC28A8
tetradic
#A8AC28 #28AC6E #2C28AC #AC2866
square
#A8AC28 #28AC6E #2C28AC #AC2866
split-complementary
#A8AC28 #2866AC #6E28AC
monochromatic
#474911 #787A1C #A8AC28 #CED23F #DBDE71

Accessibility & contrast

On white

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

On black

8.60
#A8AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AC28
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AC28#FFFFFF#000000##000000
##A8AC281.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8ac28;
/* rgb */ color: rgb(168, 172, 40);
/* oklch */ color: oklch(71.8% 0.146 111.4);
Tailwind
colors: {
  custom: {
    50: '#c5c46d',
    500: '#a8ac28',
    950: '#000000',
  },
}
SCSS
$custom: #a8ac28;
$custom-light: #c5c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ac28",
  "rgb": {
    "r": 168,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 61.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71843,
    "c": 0.14601,
    "h": 111.4
  },
  "luminance": 0.37983
}

Semantic roles & 50–950 ramp

primary
#A8AC28
secondary
#6E6BC5
accent
#42E547
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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