#A88D1F#A88D1F

#A88D1F is a light, vivid yellow. Relative luminance 0.275; OKLCH L 65.0% C 0.124 H 94.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A88D1F
RGBrgb(168, 141, 31)
HSLhsl(48, 69%, 39%)
HSVhsv(48, 82%, 66%)
CMYKcmyk(0%, 16.1%, 81.5%, 34.1%)
CIE-LABlab(59.41, -0.80, 57.30)
CIE-LCHlch(59.41, 57.31, 90.80°)
OKLaboklab(64.99% -0.0088 0.1238)
OKLCHoklch(64.99% 0.124 94.1)
XYZxyz(25.9221, 27.4751, 5.2339)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88D1F #1F3AA8
analogous
#A8491F #A88D1F #7FA81F
triadic
#A88D1F #1FA88D #8D1FA8
tetradic
#A88D1F #1FA849 #1F3AA8 #A81F7F
square
#A88D1F #1FA849 #1F3AA8 #A81F7F
split-complementary
#A88D1F #1F7FA8 #491FA8
monochromatic
#41360C #746215 #A88D1F #D8B62C #E2C860

Accessibility & contrast

On white

3.23
#A88D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#A88D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A88D1F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88D1F#FFFFFF#000000##000000
##A88D1F1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A49227
Tritanopia (blue-blind)
#B68179
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a88d1f;
/* rgb */ color: rgb(168, 141, 31);
/* oklch */ color: oklch(65.0% 0.124 94.1);
Tailwind
colors: {
  custom: {
    50: '#c6ad65',
    500: '#a88d1f',
    950: '#000000',
  },
}
SCSS
$custom: #a88d1f;
$custom-light: #c6ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#a88d1f",
  "rgb": {
    "r": 168,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 48.175,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6499,
    "c": 0.12409,
    "h": 94.1
  },
  "luminance": 0.27474
}

Semantic roles & 50–950 ramp

primary
#A88D1F
secondary
#5D71C6
accent
#5FEC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A88D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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