#AB9129#AB9129

#AB9129 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.2% C 0.122 H 94.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB9129
RGBrgb(171, 145, 41)
HSLhsl(48, 61%, 42%)
HSVhsv(48, 76%, 67%)
CMYKcmyk(0%, 15.2%, 76%, 32.9%)
CIE-LABlab(60.84, -1.24, 55.26)
CIE-LCHlch(60.84, 55.27, 91.28°)
OKLaboklab(66.21% -0.0092 0.1214)
OKLCHoklch(66.21% 0.122 94.4)
XYZxyz(27.3217, 29.0704, 6.2695)
Luminance0.2907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9129 #2943AB
analogous
#AB5029 #AB9129 #84AB29
triadic
#AB9129 #29AB91 #9129AB
tetradic
#AB9129 #29AB50 #2943AB #AB2984
square
#AB9129 #29AB50 #2943AB #AB2984
split-complementary
#AB9129 #2984AB #5029AB
monochromatic
#483D11 #7A671D #AB9129 #D1B440 #DDC871

Accessibility & contrast

On white

3.08
#AB9129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#AB9129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9129
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9129#FFFFFF#000000##000000
##AB91291.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E16
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#B9857D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab9129;
/* rgb */ color: rgb(171, 145, 41);
/* oklch */ color: oklch(66.2% 0.122 94.4);
Tailwind
colors: {
  custom: {
    50: '#c8b06b',
    500: '#ab9129',
    950: '#000000',
  },
}
SCSS
$custom: #ab9129;
$custom-light: #c8b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9129",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 41
  },
  "hsl": {
    "h": 48,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.1217,
    "h": 94.4
  },
  "luminance": 0.29069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB9129

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

Preview Lab → · Contrast checker → · Palette generator →

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