#AB9027#AB9027

#AB9027 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 66.0% C 0.122 H 93.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AB9027
RGBrgb(171, 144, 39)
HSLhsl(48, 63%, 41%)
HSVhsv(48, 77%, 67%)
CMYKcmyk(0%, 15.8%, 77.2%, 32.9%)
CIE-LABlab(60.56, -0.78, 55.73)
CIE-LCHlch(60.56, 55.74, 90.80°)
OKLaboklab(65.98% -0.0081 0.122)
OKLCHoklch(65.98% 0.122 93.8)
XYZxyz(27.1356, 28.7525, 6.0396)
Luminance0.2875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9027 #2742AB
analogous
#AB4E27 #AB9027 #84AB27
triadic
#AB9027 #27AB90 #9027AB
tetradic
#AB9027 #27AB4E #2742AB #AB2784
square
#AB9027 #27AB4E #2742AB #AB2784
split-complementary
#AB9027 #2784AB #4E27AB
monochromatic
#473C10 #79661C #AB9027 #D3B43D #DEC76E

Accessibility & contrast

On white

3.11
#AB9027 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AB9027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9027
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9027#FFFFFF#000000##000000
##AB90271.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D13
Deuteranopia (green-blind)
#A7952E
Tritanopia (blue-blind)
#B9847C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab9027;
/* rgb */ color: rgb(171, 144, 39);
/* oklch */ color: oklch(66.0% 0.122 93.8);
Tailwind
colors: {
  custom: {
    50: '#c8b06a',
    500: '#ab9027',
    950: '#000000',
  },
}
SCSS
$custom: #ab9027;
$custom-light: #c8b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9027",
  "rgb": {
    "r": 171,
    "g": 144,
    "b": 39
  },
  "hsl": {
    "h": 47.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65983,
    "c": 0.12222,
    "h": 93.8
  },
  "luminance": 0.28751
}

Semantic roles & 50–950 ramp

primary
#AB9027
secondary
#697CC5
accent
#63E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB9027

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

Preview Lab → · Contrast checker → · Palette generator →

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