#AB9028#AB9028

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

Color values

HEX#AB9028
RGBrgb(171, 144, 40)
HSLhsl(48, 62%, 41%)
HSVhsv(48, 77%, 67%)
CMYKcmyk(0%, 15.8%, 76.6%, 32.9%)
CIE-LABlab(60.57, -0.74, 55.37)
CIE-LCHlch(60.57, 55.37, 90.76°)
OKLaboklab(65.99% -0.0079 0.1214)
OKLCHoklch(65.99% 0.122 93.7)
XYZxyz(27.1523, 28.7592, 6.1280)
Luminance0.2876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9028 #2843AB
analogous
#AB4F28 #AB9028 #85AB28
triadic
#AB9028 #28AB90 #9028AB
tetradic
#AB9028 #28AB4F #2843AB #AB2885
square
#AB9028 #28AB4F #2843AB #AB2885
split-complementary
#AB9028 #2885AB #4F28AB
monochromatic
#483C11 #79661C #AB9028 #D2B33E #DEC770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9028#FFFFFF#000000##000000
##AB90281.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)
#A08D15
Deuteranopia (green-blind)
#A7952E
Tritanopia (blue-blind)
#B9847C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab9028;
/* rgb */ color: rgb(171, 144, 40);
/* oklch */ color: oklch(66.0% 0.122 93.7);
Tailwind
colors: {
  custom: {
    50: '#c8b06a',
    500: '#ab9028',
    950: '#000000',
  },
}
SCSS
$custom: #ab9028;
$custom-light: #c8b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9028",
  "rgb": {
    "r": 171,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 47.634,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65989,
    "c": 0.12165,
    "h": 93.7
  },
  "luminance": 0.28758
}

Semantic roles & 50–950 ramp

primary
#AB9028
secondary
#6A7DC4
accent
#64E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB9028

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

Preview Lab → · Contrast checker → · Palette generator →

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