#A88A22#A88A22

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

Color values

HEX#A88A22
RGBrgb(168, 138, 34)
HSLhsl(47, 66%, 40%)
HSVhsv(47, 80%, 66%)
CMYKcmyk(0%, 17.9%, 79.8%, 34.1%)
CIE-LABlab(58.62, 0.96, 55.60)
CIE-LCHlch(58.62, 55.61, 89.01°)
OKLaboklab(64.37% -0.0035 0.1208)
OKLCHoklch(64.37% 0.121 91.7)
XYZxyz(25.5272, 26.6189, 5.3065)
Luminance0.2662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88A22 #2240A8
analogous
#A84722 #A88A22 #83A822
triadic
#A88A22 #22A88A #8A22A8
tetradic
#A88A22 #22A847 #2240A8 #A82283
square
#A88A22 #22A847 #2240A8 #A82283
split-complementary
#A88A22 #2283A8 #4722A8
monochromatic
#42360D #756018 #A88A22 #D5B132 #E0C465

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A88A22#FFFFFF#000000##000000
##A88A221.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)
#9A880A
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#B67E76
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a88a22;
/* rgb */ color: rgb(168, 138, 34);
/* oklch */ color: oklch(64.4% 0.121 91.7);
Tailwind
colors: {
  custom: {
    50: '#c6ab66',
    500: '#a88a22',
    950: '#000000',
  },
}
SCSS
$custom: #a88a22;
$custom-light: #c6ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#a88a22",
  "rgb": {
    "r": 168,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 46.567,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6437,
    "c": 0.12081,
    "h": 91.7
  },
  "luminance": 0.26617
}

Semantic roles & 50–950 ramp

primary
#A88A22
secondary
#6177C5
accent
#65E93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A88A22

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

Preview Lab → · Contrast checker → · Palette generator →

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