#AB9C28#AB9C28

#AB9C28 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.6% C 0.131 H 101.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#AB9C28
RGBrgb(171, 156, 40)
HSLhsl(53, 62%, 41%)
HSVhsv(53, 77%, 67%)
CMYKcmyk(0%, 8.8%, 76.6%, 32.9%)
CIE-LABlab(63.83, -7.21, 58.41)
CIE-LCHlch(63.83, 58.86, 97.04°)
OKLaboklab(68.57% -0.0263 0.1279)
OKLCHoklch(68.57% 0.131 101.6)
XYZxyz(29.0674, 32.5894, 6.7664)
Luminance0.3259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C28 #2837AB
analogous
#AB5B28 #AB9C28 #79AB28
triadic
#AB9C28 #28AB9C #9C28AB
tetradic
#AB9C28 #28AB5B #2837AB #AB2879
square
#AB9C28 #28AB5B #2837AB #AB2879
split-complementary
#AB9C28 #2879AB #5B28AB
monochromatic
#484211 #796F1C #AB9C28 #D2C13E #DED170

Accessibility & contrast

On white

2.79
#AB9C28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#AB9C28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9C28
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9C28#FFFFFF#000000##000000
##AB9C281.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970F
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#B89086
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c28;
/* rgb */ color: rgb(171, 156, 40);
/* oklch */ color: oklch(68.6% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#c8b86b',
    500: '#ab9c28',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c28;
$custom-light: #c8b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c28",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 53.13,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68571,
    "c": 0.13054,
    "h": 101.6
  },
  "luminance": 0.32588
}

Semantic roles & 50–950 ramp

primary
#AB9C28
secondary
#6A75C4
accent
#55E543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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