#AB8C26#AB8C26

#AB8C26 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 65.1% C 0.120 H 91.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB8C26
RGBrgb(171, 140, 38)
HSLhsl(46, 64%, 41%)
HSVhsv(46, 78%, 67%)
CMYKcmyk(0%, 18.1%, 77.8%, 32.9%)
CIE-LABlab(59.49, 1.37, 55.09)
CIE-LCHlch(59.49, 55.11, 88.57°)
OKLaboklab(65.13% -0.0021 0.1204)
OKLCHoklch(65.13% 0.12 91)
XYZxyz(26.5241, 27.5557, 5.7551)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8C26 #2645AB
analogous
#AB4926 #AB8C26 #87AB26
triadic
#AB8C26 #26AB8C #8C26AB
tetradic
#AB8C26 #26AB49 #2645AB #AB2687
square
#AB8C26 #26AB49 #2645AB #AB2687
split-complementary
#AB8C26 #2687AB #4926AB
monochromatic
#473A10 #79631B #AB8C26 #D3B03B #DFC46D

Accessibility & contrast

On white

3.23
#AB8C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AB8C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8C26
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8C26#FFFFFF#000000##000000
##AB8C261.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A12
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#B98078
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab8c26;
/* rgb */ color: rgb(171, 140, 38);
/* oklch */ color: oklch(65.1% 0.120 91.0);
Tailwind
colors: {
  custom: {
    50: '#c8ad69',
    500: '#ab8c26',
    950: '#000000',
  },
}
SCSS
$custom: #ab8c26;
$custom-light: #c8ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8c26",
  "rgb": {
    "r": 171,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 46.015,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6513,
    "c": 0.12039,
    "h": 91
  },
  "luminance": 0.27554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8C26

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

Preview Lab → · Contrast checker → · Palette generator →

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