#AB9B29#AB9B29

#AB9B29 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.4% C 0.129 H 101.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#AB9B29
RGBrgb(171, 155, 41)
HSLhsl(53, 61%, 42%)
HSVhsv(53, 76%, 67%)
CMYKcmyk(0%, 9.4%, 76%, 32.9%)
CIE-LABlab(63.56, -6.64, 57.82)
CIE-LCHlch(63.56, 58.20, 96.55°)
OKLaboklab(68.36% -0.0245 0.1268)
OKLCHoklch(68.36% 0.129 101)
XYZxyz(28.9175, 32.2621, 6.8014)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B29 #2939AB
analogous
#AB5A29 #AB9B29 #7AAB29
triadic
#AB9B29 #29AB9B #9B29AB
tetradic
#AB9B29 #29AB5A #2939AB #AB297A
square
#AB9B29 #29AB5A #2939AB #AB297A
split-complementary
#AB9B29 #297AAB #5A29AB
monochromatic
#484211 #7A6E1D #AB9B29 #D1BF40 #DDD071

Accessibility & contrast

On white

2.82
#AB9B29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#AB9B29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B29
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B29#FFFFFF#000000##000000
##AB9B291.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9612
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b29;
/* rgb */ color: rgb(171, 155, 41);
/* oklch */ color: oklch(68.4% 0.129 101.0);
Tailwind
colors: {
  custom: {
    50: '#c8b86c',
    500: '#ab9b29',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b29;
$custom-light: #c8b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b29",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 41
  },
  "hsl": {
    "h": 52.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6836,
    "c": 0.12915,
    "h": 101
  },
  "luminance": 0.32261
}

Semantic roles & 50–950 ramp

primary
#AB9B29
secondary
#6C77C4
accent
#57E443
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9B29

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

Preview Lab → · Contrast checker → · Palette generator →

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