#A88A1F#A88A1F

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

Color values

HEX#A88A1F
RGBrgb(168, 138, 31)
HSLhsl(47, 69%, 39%)
HSVhsv(47, 82%, 66%)
CMYKcmyk(0%, 17.9%, 81.5%, 34.1%)
CIE-LABlab(58.60, 0.85, 56.59)
CIE-LCHlch(58.60, 56.59, 89.14°)
OKLaboklab(64.35% -0.0041 0.1222)
OKLCHoklch(64.35% 0.122 91.9)
XYZxyz(25.4858, 26.6023, 5.0885)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88A1F #1F3DA8
analogous
#A8461F #A88A1F #82A81F
triadic
#A88A1F #1FA88A #8A1FA8
tetradic
#A88A1F #1FA846 #1F3DA8 #A81F82
square
#A88A1F #1FA846 #1F3DA8 #A81F82
split-complementary
#A88A1F #1F82A8 #461FA8
monochromatic
#41350C #746015 #A88A1F #D8B22C #E2C560

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A88A1F#FFFFFF#000000##000000
##A88A1F1.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)
#9A8802
Deuteranopia (green-blind)
#A29126
Tritanopia (blue-blind)
#B67E76
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a88a1f;
/* rgb */ color: rgb(168, 138, 31);
/* oklch */ color: oklch(64.4% 0.122 91.9);
Tailwind
colors: {
  custom: {
    50: '#c6ab65',
    500: '#a88a1f',
    950: '#000000',
  },
}
SCSS
$custom: #a88a1f;
$custom-light: #c6ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#a88a1f",
  "rgb": {
    "r": 168,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 46.861,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64352,
    "c": 0.12231,
    "h": 91.9
  },
  "luminance": 0.26601
}

Semantic roles & 50–950 ramp

primary
#A88A1F
secondary
#5D74C6
accent
#63EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A88A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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