#AB8B28#AB8B28

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

Color values

HEX#AB8B28
RGBrgb(171, 139, 40)
HSLhsl(45, 62%, 41%)
HSVhsv(45, 77%, 67%)
CMYKcmyk(0%, 18.7%, 76.6%, 32.9%)
CIE-LABlab(59.23, 2.01, 54.11)
CIE-LCHlch(59.23, 54.14, 87.87°)
OKLaboklab(64.93% -0.0001 0.1187)
OKLCHoklch(64.93% 0.119 90)
XYZxyz(26.4118, 27.2780, 5.8811)
Luminance0.2728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8B28 #2848AB
analogous
#AB4A28 #AB8B28 #8AAB28
triadic
#AB8B28 #28AB8B #8B28AB
tetradic
#AB8B28 #28AB4A #2848AB #AB288A
square
#AB8B28 #28AB4A #2848AB #AB288A
split-complementary
#AB8B28 #288AAB #4A28AB
monochromatic
#483A11 #79631C #AB8B28 #D2AE3E #DEC370

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8B28#FFFFFF#000000##000000
##AB8B281.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)
#9B8917
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#B97F78
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab8b28;
/* rgb */ color: rgb(171, 139, 40);
/* oklch */ color: oklch(64.9% 0.119 90.0);
Tailwind
colors: {
  custom: {
    50: '#c8ac69',
    500: '#ab8b28',
    950: '#000000',
  },
}
SCSS
$custom: #ab8b28;
$custom-light: #c8ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8b28",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 45.344,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64934,
    "c": 0.11869,
    "h": 90
  },
  "luminance": 0.27276
}

Semantic roles & 50–950 ramp

primary
#AB8B28
secondary
#6A80C4
accent
#6AE543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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