#A88A21#A88A21

#A88A21 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.4% C 0.121 H 91.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A88A21
RGBrgb(168, 138, 33)
HSLhsl(47, 67%, 39%)
HSVhsv(47, 80%, 66%)
CMYKcmyk(0%, 17.9%, 80.4%, 34.1%)
CIE-LABlab(58.61, 0.92, 55.94)
CIE-LCHlch(58.61, 55.94, 89.06°)
OKLaboklab(64.36% -0.0037 0.1213)
OKLCHoklch(64.36% 0.121 91.8)
XYZxyz(25.5129, 26.6132, 5.2316)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88A21 #213FA8
analogous
#A84721 #A88A21 #82A821
triadic
#A88A21 #21A88A #8A21A8
tetradic
#A88A21 #21A847 #213FA8 #A82182
square
#A88A21 #21A847 #213FA8 #A82182
split-complementary
#A88A21 #2182A8 #4721A8
monochromatic
#42360D #756017 #A88A21 #D6B130 #E0C563

Accessibility & contrast

On white

3.32
#A88A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A88A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A88A21
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88A21#FFFFFF#000000##000000
##A88A211.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8807
Deuteranopia (green-blind)
#A29128
Tritanopia (blue-blind)
#B67E76
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a88a21;
/* rgb */ color: rgb(168, 138, 33);
/* oklch */ color: oklch(64.4% 0.121 91.8);
Tailwind
colors: {
  custom: {
    50: '#c6ab66',
    500: '#a88a21',
    950: '#000000',
  },
}
SCSS
$custom: #a88a21;
$custom-light: #c6ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#a88a21",
  "rgb": {
    "r": 168,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 46.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64364,
    "c": 0.12133,
    "h": 91.8
  },
  "luminance": 0.26612
}

Semantic roles & 50–950 ramp

primary
#A88A21
secondary
#5F76C5
accent
#64EA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A88A21

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

Preview Lab → · Contrast checker → · Palette generator →

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