#AB9429#AB9429

#AB9429 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.8% C 0.124 H 96.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#AB9429
RGBrgb(171, 148, 41)
HSLhsl(49, 61%, 42%)
HSVhsv(49, 76%, 67%)
CMYKcmyk(0%, 13.5%, 76%, 32.9%)
CIE-LABlab(61.65, -2.87, 56.02)
CIE-LCHlch(61.65, 56.10, 92.93°)
OKLaboklab(66.85% -0.0139 0.123)
OKLCHoklch(66.85% 0.124 96.4)
XYZxyz(27.7862, 29.9993, 6.4243)
Luminance0.3000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9429 #2940AB
analogous
#AB5329 #AB9429 #81AB29
triadic
#AB9429 #29AB94 #9429AB
tetradic
#AB9429 #29AB53 #2940AB #AB2981
square
#AB9429 #29AB53 #2940AB #AB2981
split-complementary
#AB9429 #2981AB #5329AB
monochromatic
#483F11 #7A691D #AB9429 #D1B840 #DDCA71

Accessibility & contrast

On white

3.00
#AB9429 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#AB9429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9429
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9429#FFFFFF#000000##000000
##AB94291.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49115
Deuteranopia (green-blind)
#AA9830
Tritanopia (blue-blind)
#B9887F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab9429;
/* rgb */ color: rgb(171, 148, 41);
/* oklch */ color: oklch(66.8% 0.124 96.4);
Tailwind
colors: {
  custom: {
    50: '#c8b36b',
    500: '#ab9429',
    950: '#000000',
  },
}
SCSS
$custom: #ab9429;
$custom-light: #c8b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9429",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 41
  },
  "hsl": {
    "h": 49.385,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66849,
    "c": 0.12377,
    "h": 96.4
  },
  "luminance": 0.29998
}

Semantic roles & 50–950 ramp

primary
#AB9429
secondary
#6C7BC4
accent
#60E443
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB9429

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

Preview Lab → · Contrast checker → · Palette generator →

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