#AB8B29#AB8B29

#AB8B29 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.9% C 0.118 H 89.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AB8B29
RGBrgb(171, 139, 41)
HSLhsl(45, 61%, 42%)
HSVhsv(45, 76%, 67%)
CMYKcmyk(0%, 18.7%, 76%, 32.9%)
CIE-LABlab(59.24, 2.05, 53.73)
CIE-LCHlch(59.24, 53.77, 87.81°)
OKLaboklab(64.94% 0.0002 0.1181)
OKLCHoklch(64.94% 0.118 89.9)
XYZxyz(26.4290, 27.2849, 5.9719)
Luminance0.2728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8B29 #2949AB
analogous
#AB4A29 #AB8B29 #8AAB29
triadic
#AB8B29 #29AB8B #8B29AB
tetradic
#AB8B29 #29AB4A #2949AB #AB298A
square
#AB8B29 #29AB4A #2949AB #AB298A
split-complementary
#AB8B29 #298AAB #4A29AB
monochromatic
#483B11 #7A631D #AB8B29 #D1AD40 #DDC371

Accessibility & contrast

On white

3.25
#AB8B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AB8B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8B29
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8B29#FFFFFF#000000##000000
##AB8B291.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#B97F78
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab8b29;
/* rgb */ color: rgb(171, 139, 41);
/* oklch */ color: oklch(64.9% 0.118 89.9);
Tailwind
colors: {
  custom: {
    50: '#c8ac6a',
    500: '#ab8b29',
    950: '#000000',
  },
}
SCSS
$custom: #ab8b29;
$custom-light: #c8ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8b29",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 45.231,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64941,
    "c": 0.1181,
    "h": 89.9
  },
  "luminance": 0.27283
}

Semantic roles & 50–950 ramp

primary
#AB8B29
secondary
#6C81C4
accent
#6BE443
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8B29

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

Preview Lab → · Contrast checker → · Palette generator →

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