#AB8D26#AB8D26

#AB8D26 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 65.3% C 0.121 H 91.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AB8D26
RGBrgb(171, 141, 38)
HSLhsl(46, 64%, 41%)
HSVhsv(46, 78%, 67%)
CMYKcmyk(0%, 17.5%, 77.8%, 32.9%)
CIE-LABlab(59.75, 0.82, 55.34)
CIE-LCHlch(59.75, 55.34, 89.15°)
OKLaboklab(65.34% -0.0037 0.1209)
OKLCHoklch(65.34% 0.121 91.7)
XYZxyz(26.6709, 27.8493, 5.8040)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D26 #2644AB
analogous
#AB4A26 #AB8D26 #86AB26
triadic
#AB8D26 #26AB8D #8D26AB
tetradic
#AB8D26 #26AB4A #2644AB #AB2686
square
#AB8D26 #26AB4A #2644AB #AB2686
split-complementary
#AB8D26 #2686AB #4A26AB
monochromatic
#473A10 #79641B #AB8D26 #D3B13B #DFC56D

Accessibility & contrast

On white

3.20
#AB8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AB8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8D26
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8D26#FFFFFF#000000##000000
##AB8D261.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B12
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#B98179
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab8d26;
/* rgb */ color: rgb(171, 141, 38);
/* oklch */ color: oklch(65.3% 0.121 91.7);
Tailwind
colors: {
  custom: {
    50: '#c8ae69',
    500: '#ab8d26',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d26;
$custom-light: #c8ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d26",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 46.466,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65341,
    "c": 0.12096,
    "h": 91.7
  },
  "luminance": 0.27848
}

Semantic roles & 50–950 ramp

primary
#AB8D26
secondary
#687DC5
accent
#66E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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