#A8AE28#A8AE28

#A8AE28 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.148 H 112.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#A8AE28
RGBrgb(168, 174, 40)
HSLhsl(63, 63%, 42%)
HSVhsv(63, 77%, 68%)
CMYKcmyk(3.4%, 0%, 77%, 31.8%)
CIE-LABlab(68.57, -17.90, 62.68)
CIE-LCHlch(68.57, 65.19, 105.94°)
OKLaboklab(72.29% -0.056 0.1371)
OKLCHoklch(72.29% 0.148 112.2)
XYZxyz(31.6686, 38.7509, 7.8185)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AE28 #2E28AE
analogous
#AE7128 #A8AE28 #65AE28
triadic
#A8AE28 #28A8AE #AE28A8
tetradic
#A8AE28 #28AE71 #2E28AE #AE2865
square
#A8AE28 #28AE71 #2E28AE #AE2865
split-complementary
#A8AE28 #2865AE #7128AE
monochromatic
#484A11 #787C1D #A8AE28 #CDD340 #DADF72

Accessibility & contrast

On white

2.40
#A8AE28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#A8AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AE28
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AE28#FFFFFF#000000##000000
##A8AE281.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA601
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#B4A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a8ae28;
/* rgb */ color: rgb(168, 174, 40);
/* oklch */ color: oklch(72.3% 0.148 112.2);
Tailwind
colors: {
  custom: {
    50: '#c6c56e',
    500: '#a8ae28',
    950: '#000000',
  },
}
SCSS
$custom: #a8ae28;
$custom-light: #c6c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ae28",
  "rgb": {
    "r": 168,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 62.687,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72292,
    "c": 0.14807,
    "h": 112.2
  },
  "luminance": 0.3875
}

Semantic roles & 50–950 ramp

primary
#A8AE28
secondary
#706CC6
accent
#42E649
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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