#A8AB28#A8AB28

#A8AB28 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.145 H 110.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#A8AB28
RGBrgb(168, 171, 40)
HSLhsl(61, 62%, 41%)
HSVhsv(61, 77%, 67%)
CMYKcmyk(1.8%, 0%, 76.6%, 32.9%)
CIE-LABlab(67.73, -16.37, 61.91)
CIE-LCHlch(67.73, 64.04, 104.81°)
OKLaboklab(71.62% -0.0517 0.1354)
OKLCHoklch(71.62% 0.145 110.9)
XYZxyz(31.0955, 37.6047, 7.6275)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AB28 #2B28AB
analogous
#AB6D28 #A8AB28 #67AB28
triadic
#A8AB28 #28A8AB #AB28A8
tetradic
#A8AB28 #28AB6D #2B28AB #AB2867
square
#A8AB28 #28AB6D #2B28AB #AB2867
split-complementary
#A8AB28 #2867AB #6D28AB
monochromatic
#474811 #77791C #A8AB28 #CFD23E #DBDE70

Accessibility & contrast

On white

2.46
#A8AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#A8AB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AB28
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AB28#FFFFFF#000000##000000
##A8AB281.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A304
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#B4A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8ab28;
/* rgb */ color: rgb(168, 171, 40);
/* oklch */ color: oklch(71.6% 0.145 110.9);
Tailwind
colors: {
  custom: {
    50: '#c5c36d',
    500: '#a8ab28',
    950: '#000000',
  },
}
SCSS
$custom: #a8ab28;
$custom-light: #c5c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ab28",
  "rgb": {
    "r": 168,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 61.374,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71618,
    "c": 0.145,
    "h": 110.9
  },
  "luminance": 0.37604
}

Semantic roles & 50–950 ramp

primary
#A8AB28
secondary
#6C6AC4
accent
#43E546
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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