#A8AB27#A8AB27

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

Color values

HEX#A8AB27
RGBrgb(168, 171, 39)
HSLhsl(61, 63%, 41%)
HSVhsv(61, 77%, 67%)
CMYKcmyk(1.8%, 0%, 77.2%, 32.9%)
CIE-LABlab(67.72, -16.41, 62.22)
CIE-LCHlch(67.72, 64.35, 104.78°)
OKLaboklab(71.61% -0.0519 0.1359)
OKLCHoklch(71.61% 0.146 110.9)
XYZxyz(31.0787, 37.5980, 7.5391)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AB27 #2A27AB
analogous
#AB6C27 #A8AB27 #66AB27
triadic
#A8AB27 #27A8AB #AB27A8
tetradic
#A8AB27 #27AB6C #2A27AB #AB2766
square
#A8AB27 #27AB6C #2A27AB #AB2766
split-complementary
#A8AB27 #2766AB #6C27AB
monochromatic
#464710 #77791C #A8AB27 #CFD33D #DBDE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8AB27#FFFFFF#000000##000000
##A8AB271.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)
#B9A301
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#B4A092
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8ab27;
/* rgb */ color: rgb(168, 171, 39);
/* oklch */ color: oklch(71.6% 0.146 110.9);
Tailwind
colors: {
  custom: {
    50: '#c6c36d',
    500: '#a8ab27',
    950: '#000000',
  },
}
SCSS
$custom: #a8ab27;
$custom-light: #c6c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ab27",
  "rgb": {
    "r": 168,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 61.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71613,
    "c": 0.14551,
    "h": 110.9
  },
  "luminance": 0.37597
}

Semantic roles & 50–950 ramp

primary
#A8AB27
secondary
#6B69C5
accent
#42E646
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AB27

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

Preview Lab → · Contrast checker → · Palette generator →

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