#AB8B2B#AB8B2B

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

Color values

HEX#AB8B2B
RGBrgb(171, 139, 43)
HSLhsl(45, 60%, 42%)
HSVhsv(45, 75%, 67%)
CMYKcmyk(0%, 18.7%, 74.9%, 32.9%)
CIE-LABlab(59.25, 2.14, 52.96)
CIE-LCHlch(59.25, 53.01, 87.68°)
OKLaboklab(64.96% 0.0006 0.1169)
OKLCHoklch(64.96% 0.117 89.7)
XYZxyz(26.4648, 27.2993, 6.1604)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8B2B #2B4BAB
analogous
#AB4B2B #AB8B2B #8BAB2B
triadic
#AB8B2B #2BAB8B #8B2BAB
tetradic
#AB8B2B #2BAB4B #2B4BAB #AB2B8B
square
#AB8B2B #2BAB4B #2B4BAB #AB2B8B
split-complementary
#AB8B2B #2B8BAB #4B2BAB
monochromatic
#493B12 #7A631F #AB8B2B #D0AD43 #DCC274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8B2B#FFFFFF#000000##000000
##AB8B2B1.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)
#9B891C
Deuteranopia (green-blind)
#A39230
Tritanopia (blue-blind)
#B97F78
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab8b2b;
/* rgb */ color: rgb(171, 139, 43);
/* oklch */ color: oklch(65.0% 0.117 89.7);
Tailwind
colors: {
  custom: {
    50: '#c8ac6b',
    500: '#ab8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab8b2b;
$custom-light: #c8ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8b2b",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 45,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64955,
    "c": 0.11688,
    "h": 89.7
  },
  "luminance": 0.27298
}

Semantic roles & 50–950 ramp

primary
#AB8B2B
secondary
#6E84C4
accent
#6CE345
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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