#A88B1F#A88B1F

#A88B1F is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.6% C 0.123 H 92.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A88B1F
RGBrgb(168, 139, 31)
HSLhsl(47, 69%, 39%)
HSVhsv(47, 82%, 66%)
CMYKcmyk(0%, 17.3%, 81.5%, 34.1%)
CIE-LABlab(58.87, 0.30, 56.83)
CIE-LCHlch(58.87, 56.83, 89.70°)
OKLaboklab(64.56% -0.0057 0.1228)
OKLCHoklch(64.56% 0.123 92.7)
XYZxyz(25.6299, 26.8906, 5.1365)
Luminance0.2689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88B1F #1F3CA8
analogous
#A8471F #A88B1F #81A81F
triadic
#A88B1F #1FA88B #8B1FA8
tetradic
#A88B1F #1FA847 #1F3CA8 #A81F81
square
#A88B1F #1FA847 #1F3CA8 #A81F81
split-complementary
#A88B1F #1F81A8 #471FA8
monochromatic
#41360C #746015 #A88B1F #D8B42C #E2C660

Accessibility & contrast

On white

3.29
#A88B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A88B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A88B1F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88B1F#FFFFFF#000000##000000
##A88B1F1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8902
Deuteranopia (green-blind)
#A29126
Tritanopia (blue-blind)
#B67F77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a88b1f;
/* rgb */ color: rgb(168, 139, 31);
/* oklch */ color: oklch(64.6% 0.123 92.7);
Tailwind
colors: {
  custom: {
    50: '#c6ac65',
    500: '#a88b1f',
    950: '#000000',
  },
}
SCSS
$custom: #a88b1f;
$custom-light: #c6ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#a88b1f",
  "rgb": {
    "r": 168,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 47.299,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64564,
    "c": 0.12288,
    "h": 92.7
  },
  "luminance": 0.26889
}

Semantic roles & 50–950 ramp

primary
#A88B1F
secondary
#5D73C6
accent
#61EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A88B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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