#AB8B2A#AB8B2A

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

Color values

HEX#AB8B2A
RGBrgb(171, 139, 42)
HSLhsl(45, 61%, 42%)
HSVhsv(45, 75%, 67%)
CMYKcmyk(0%, 18.7%, 75.4%, 32.9%)
CIE-LABlab(59.24, 2.10, 53.35)
CIE-LCHlch(59.24, 53.39, 87.75°)
OKLaboklab(64.95% 0.0004 0.1175)
OKLCHoklch(64.95% 0.118 89.8)
XYZxyz(26.4467, 27.2920, 6.0650)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8B2A #2A4AAB
analogous
#AB4B2A #AB8B2A #8BAB2A
triadic
#AB8B2A #2AAB8B #8B2AAB
tetradic
#AB8B2A #2AAB4B #2A4AAB #AB2A8B
square
#AB8B2A #2AAB4B #2A4AAB #AB2A8B
split-complementary
#AB8B2A #2A8BAB #4B2AAB
monochromatic
#493B12 #7A631E #AB8B2A #D1AD42 #DDC273

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8B2A#FFFFFF#000000##000000
##AB8B2A1.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)
#9B891A
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#B97F78
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab8b2a;
/* rgb */ color: rgb(171, 139, 42);
/* oklch */ color: oklch(64.9% 0.117 89.8);
Tailwind
colors: {
  custom: {
    50: '#c8ac6b',
    500: '#ab8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab8b2a;
$custom-light: #c8ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8b2a",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 45.116,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64948,
    "c": 0.1175,
    "h": 89.8
  },
  "luminance": 0.2729
}

Semantic roles & 50–950 ramp

primary
#AB8B2A
secondary
#6D82C4
accent
#6CE444
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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