#AB9229#AB9229

#AB9229 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.4% C 0.122 H 95.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AB9229
RGBrgb(171, 146, 41)
HSLhsl(48, 61%, 42%)
HSVhsv(48, 76%, 67%)
CMYKcmyk(0%, 14.6%, 76%, 32.9%)
CIE-LABlab(61.11, -1.78, 55.51)
CIE-LCHlch(61.11, 55.54, 91.84°)
OKLaboklab(66.42% -0.0108 0.1219)
OKLCHoklch(66.42% 0.122 95.1)
XYZxyz(27.4752, 29.3773, 6.3206)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9229 #2942AB
analogous
#AB5129 #AB9229 #83AB29
triadic
#AB9229 #29AB92 #9229AB
tetradic
#AB9229 #29AB51 #2942AB #AB2983
square
#AB9229 #29AB51 #2942AB #AB2983
split-complementary
#AB9229 #2983AB #5129AB
monochromatic
#483E11 #7A681D #AB9229 #D1B540 #DDC871

Accessibility & contrast

On white

3.05
#AB9229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#AB9229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9229
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9229#FFFFFF#000000##000000
##AB92291.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F16
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#B9867E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab9229;
/* rgb */ color: rgb(171, 146, 41);
/* oklch */ color: oklch(66.4% 0.122 95.1);
Tailwind
colors: {
  custom: {
    50: '#c8b16b',
    500: '#ab9229',
    950: '#000000',
  },
}
SCSS
$custom: #ab9229;
$custom-light: #c8b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9229",
  "rgb": {
    "r": 171,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 48.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66422,
    "c": 0.12238,
    "h": 95.1
  },
  "luminance": 0.29376
}

Semantic roles & 50–950 ramp

primary
#AB9229
secondary
#6C7DC4
accent
#62E443
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB9229

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

Preview Lab → · Contrast checker → · Palette generator →

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