#AB8E27#AB8E27

#AB8E27 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.6% C 0.121 H 92.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AB8E27
RGBrgb(171, 142, 39)
HSLhsl(47, 63%, 41%)
HSVhsv(47, 77%, 67%)
CMYKcmyk(0%, 17%, 77.2%, 32.9%)
CIE-LABlab(60.03, 0.32, 55.23)
CIE-LCHlch(60.03, 55.23, 89.67°)
OKLaboklab(65.56% -0.005 0.1209)
OKLCHoklch(65.56% 0.121 92.4)
XYZxyz(26.8353, 28.1520, 5.9395)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8E27 #2744AB
analogous
#AB4C27 #AB8E27 #86AB27
triadic
#AB8E27 #27AB8E #8E27AB
tetradic
#AB8E27 #27AB4C #2744AB #AB2786
square
#AB8E27 #27AB4C #2744AB #AB2786
split-complementary
#AB8E27 #2786AB #4C27AB
monochromatic
#473B10 #79651C #AB8E27 #D3B23D #DEC56E

Accessibility & contrast

On white

3.17
#AB8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#AB8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8E27
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8E27#FFFFFF#000000##000000
##AB8E271.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C13
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#B9827A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8e27;
/* rgb */ color: rgb(171, 142, 39);
/* oklch */ color: oklch(65.6% 0.121 92.4);
Tailwind
colors: {
  custom: {
    50: '#c8ae69',
    500: '#ab8e27',
    950: '#000000',
  },
}
SCSS
$custom: #ab8e27;
$custom-light: #c8ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8e27",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 46.818,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65559,
    "c": 0.12098,
    "h": 92.4
  },
  "luminance": 0.2815
}

Semantic roles & 50–950 ramp

primary
#AB8E27
secondary
#697DC5
accent
#66E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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