#AB8B26#AB8B26

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

Color values

HEX#AB8B26
RGBrgb(171, 139, 38)
HSLhsl(46, 64%, 41%)
HSVhsv(46, 78%, 67%)
CMYKcmyk(0%, 18.7%, 77.8%, 32.9%)
CIE-LABlab(59.22, 1.92, 54.84)
CIE-LCHlch(59.22, 54.88, 87.99°)
OKLaboklab(64.92% -0.0005 0.1198)
OKLCHoklch(64.92% 0.12 90.3)
XYZxyz(26.3786, 27.2648, 5.7066)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8B26 #2646AB
analogous
#AB4826 #AB8B26 #88AB26
triadic
#AB8B26 #26AB8B #8B26AB
tetradic
#AB8B26 #26AB48 #2646AB #AB2688
square
#AB8B26 #26AB48 #2646AB #AB2688
split-complementary
#AB8B26 #2688AB #4826AB
monochromatic
#473A10 #79621B #AB8B26 #D3AF3B #DFC36D

Accessibility & contrast

On white

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

On black

6.45
#AB8B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8B26
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8B26#FFFFFF#000000##000000
##AB8B261.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab8b26;
/* rgb */ color: rgb(171, 139, 38);
/* oklch */ color: oklch(64.9% 0.120 90.3);
Tailwind
colors: {
  custom: {
    50: '#c8ac68',
    500: '#ab8b26',
    950: '#000000',
  },
}
SCSS
$custom: #ab8b26;
$custom-light: #c8ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8b26",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 45.564,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6492,
    "c": 0.11984,
    "h": 90.3
  },
  "luminance": 0.27263
}

Semantic roles & 50–950 ramp

primary
#AB8B26
secondary
#687EC5
accent
#69E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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