#AB8D33#AB8D33

#AB8D33 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.4% C 0.113 H 90.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AB8D33
RGBrgb(171, 141, 51)
HSLhsl(45, 54%, 44%)
HSVhsv(45, 70%, 67%)
CMYKcmyk(0%, 17.5%, 70.2%, 32.9%)
CIE-LABlab(59.84, 1.45, 50.23)
CIE-LCHlch(59.84, 50.25, 88.35°)
OKLaboklab(65.44% -0.0004 0.1126)
OKLCHoklch(65.44% 0.113 90.2)
XYZxyz(26.9185, 27.9483, 7.1081)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D33 #3351AB
analogous
#AB5133 #AB8D33 #8DAB33
triadic
#AB8D33 #33AB8D #8D33AB
tetradic
#AB8D33 #33AB51 #3351AB #AB338D
square
#AB8D33 #33AB51 #3351AB #AB338D
split-complementary
#AB8D33 #338DAB #5133AB
monochromatic
#4D3F17 #7C6625 #AB8D33 #CBAC50 #D9C37F

Accessibility & contrast

On white

3.19
#AB8D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AB8D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8D33
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8D33#FFFFFF#000000##000000
##AB8D331.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B27
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#B9817A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab8d33;
/* rgb */ color: rgb(171, 141, 51);
/* oklch */ color: oklch(65.4% 0.113 90.2);
Tailwind
colors: {
  custom: {
    50: '#c8ae70',
    500: '#ab8d33',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d33;
$custom-light: #c8ae70;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d33",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 45,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6544,
    "c": 0.11263,
    "h": 90.2
  },
  "luminance": 0.27947
}

Semantic roles & 50–950 ramp

primary
#AB8D33
secondary
#788AC2
accent
#6FDD4A
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AB8D33

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

Preview Lab → · Contrast checker → · Palette generator →

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