#AB8A26#AB8A26

#AB8A26 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.7% C 0.119 H 89.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB8A26
RGBrgb(171, 138, 38)
HSLhsl(45, 64%, 41%)
HSVhsv(45, 78%, 67%)
CMYKcmyk(0%, 19.3%, 77.8%, 32.9%)
CIE-LABlab(58.95, 2.48, 54.59)
CIE-LCHlch(58.95, 54.65, 87.40°)
OKLaboklab(64.71% 0.001 0.1193)
OKLCHoklch(64.71% 0.119 89.5)
XYZxyz(26.2345, 26.9765, 5.6586)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8A26 #2647AB
analogous
#AB4726 #AB8A26 #89AB26
triadic
#AB8A26 #26AB8A #8A26AB
tetradic
#AB8A26 #26AB47 #2647AB #AB2689
square
#AB8A26 #26AB47 #2647AB #AB2689
split-complementary
#AB8A26 #2689AB #4726AB
monochromatic
#473910 #79621B #AB8A26 #D3AE3B #DFC26D

Accessibility & contrast

On white

3.28
#AB8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AB8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8A26
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8A26#FFFFFF#000000##000000
##AB8A261.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab8a26;
/* rgb */ color: rgb(171, 138, 38);
/* oklch */ color: oklch(64.7% 0.119 89.5);
Tailwind
colors: {
  custom: {
    50: '#c8ab68',
    500: '#ab8a26',
    950: '#000000',
  },
}
SCSS
$custom: #ab8a26;
$custom-light: #c8ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8a26",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 45.113,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6471,
    "c": 0.11931,
    "h": 89.5
  },
  "luminance": 0.26975
}

Semantic roles & 50–950 ramp

primary
#AB8A26
secondary
#687FC5
accent
#6AE741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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