#AB8D27#AB8D27

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

Color values

HEX#AB8D27
RGBrgb(171, 141, 39)
HSLhsl(46, 63%, 41%)
HSVhsv(46, 77%, 67%)
CMYKcmyk(0%, 17.5%, 77.2%, 32.9%)
CIE-LABlab(59.76, 0.87, 54.98)
CIE-LCHlch(59.76, 54.98, 89.10°)
OKLaboklab(65.35% -0.0035 0.1203)
OKLCHoklch(65.35% 0.12 91.6)
XYZxyz(26.6872, 27.8558, 5.8901)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D27 #2745AB
analogous
#AB4B27 #AB8D27 #87AB27
triadic
#AB8D27 #27AB8D #8D27AB
tetradic
#AB8D27 #27AB4B #2745AB #AB2787
square
#AB8D27 #27AB4B #2745AB #AB2787
split-complementary
#AB8D27 #2787AB #4B27AB
monochromatic
#473B10 #79641C #AB8D27 #D3B13D #DEC56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8D27#FFFFFF#000000##000000
##AB8D271.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)
#9D8B14
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#B98179
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab8d27;
/* rgb */ color: rgb(171, 141, 39);
/* oklch */ color: oklch(65.3% 0.120 91.6);
Tailwind
colors: {
  custom: {
    50: '#c8ae69',
    500: '#ab8d27',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d27;
$custom-light: #c8ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d27",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 46.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65348,
    "c": 0.12039,
    "h": 91.6
  },
  "luminance": 0.27854
}

Semantic roles & 50–950 ramp

primary
#AB8D27
secondary
#697EC5
accent
#67E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8D27

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

Preview Lab → · Contrast checker → · Palette generator →

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