#AB9729#AB9729

#AB9729 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.5% C 0.126 H 98.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#AB9729
RGBrgb(171, 151, 41)
HSLhsl(51, 61%, 42%)
HSVhsv(51, 76%, 67%)
CMYKcmyk(0%, 11.7%, 76%, 32.9%)
CIE-LABlab(62.47, -4.49, 56.79)
CIE-LCHlch(62.47, 56.97, 94.52°)
OKLaboklab(67.49% -0.0185 0.1246)
OKLCHoklch(67.49% 0.126 98.4)
XYZxyz(28.2629, 30.9527, 6.5832)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9729 #293DAB
analogous
#AB5629 #AB9729 #7EAB29
triadic
#AB9729 #29AB97 #9729AB
tetradic
#AB9729 #29AB56 #293DAB #AB297E
square
#AB9729 #29AB56 #293DAB #AB297E
split-complementary
#AB9729 #297EAB #5629AB
monochromatic
#484011 #7A6B1D #AB9729 #D1BB40 #DDCC71

Accessibility & contrast

On white

2.92
#AB9729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#AB9729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9729
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9729#FFFFFF#000000##000000
##AB97291.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69314
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#B98B82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab9729;
/* rgb */ color: rgb(171, 151, 41);
/* oklch */ color: oklch(67.5% 0.126 98.4);
Tailwind
colors: {
  custom: {
    50: '#c8b56b',
    500: '#ab9729',
    950: '#000000',
  },
}
SCSS
$custom: #ab9729;
$custom-light: #c8b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9729",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 50.769,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67494,
    "c": 0.12598,
    "h": 98.4
  },
  "luminance": 0.30951
}

Semantic roles & 50–950 ramp

primary
#AB9729
secondary
#6C79C4
accent
#5CE443
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9729

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

Preview Lab → · Contrast checker → · Palette generator →

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