#AB8F29#AB8F29

#AB8F29 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.8% C 0.120 H 92.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AB8F29
RGBrgb(171, 143, 41)
HSLhsl(47, 61%, 42%)
HSVhsv(47, 76%, 67%)
CMYKcmyk(0%, 16.4%, 76%, 32.9%)
CIE-LABlab(60.31, -0.15, 54.75)
CIE-LCHlch(60.31, 54.75, 90.15°)
OKLaboklab(65.78% -0.0061 0.1203)
OKLCHoklch(65.78% 0.12 92.9)
XYZxyz(27.0188, 28.4645, 6.1685)
Luminance0.2846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F29 #2945AB
analogous
#AB4E29 #AB8F29 #86AB29
triadic
#AB8F29 #29AB8F #8F29AB
tetradic
#AB8F29 #29AB4E #2945AB #AB2986
square
#AB8F29 #29AB4E #2945AB #AB2986
split-complementary
#AB8F29 #2986AB #4E29AB
monochromatic
#483C11 #7A661D #AB8F29 #D1B240 #DDC671

Accessibility & contrast

On white

3.14
#AB8F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#AB8F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8F29
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8F29#FFFFFF#000000##000000
##AB8F291.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D17
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#B9837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8f29;
/* rgb */ color: rgb(171, 143, 41);
/* oklch */ color: oklch(65.8% 0.120 92.9);
Tailwind
colors: {
  custom: {
    50: '#c8af6a',
    500: '#ab8f29',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f29;
$custom-light: #c8af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f29",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 47.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65784,
    "c": 0.12043,
    "h": 92.9
  },
  "luminance": 0.28463
}

Semantic roles & 50–950 ramp

primary
#AB8F29
secondary
#6C7FC4
accent
#66E443
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8F29

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

Preview Lab → · Contrast checker → · Palette generator →

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