#AB9533#AB9533

#AB9533 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 67.1% C 0.118 H 96.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AB9533
RGBrgb(171, 149, 51)
HSLhsl(49, 54%, 44%)
HSVhsv(49, 70%, 67%)
CMYKcmyk(0%, 12.9%, 70.2%, 32.9%)
CIE-LABlab(61.99, -2.92, 52.43)
CIE-LCHlch(61.99, 52.51, 93.19°)
OKLaboklab(67.14% -0.0129 0.1173)
OKLCHoklch(67.14% 0.118 96.3)
XYZxyz(28.1409, 30.3933, 7.5156)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9533 #3349AB
analogous
#AB5933 #AB9533 #85AB33
triadic
#AB9533 #33AB95 #9533AB
tetradic
#AB9533 #33AB59 #3349AB #AB3385
square
#AB9533 #33AB59 #3349AB #AB3385
split-complementary
#AB9533 #3385AB #5933AB
monochromatic
#4D4317 #7C6C25 #AB9533 #CBB450 #D9C97F

Accessibility & contrast

On white

2.97
#AB9533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AB9533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9533
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9533#FFFFFF#000000##000000
##AB95331.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49225
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#B98A81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab9533;
/* rgb */ color: rgb(171, 149, 51);
/* oklch */ color: oklch(67.1% 0.118 96.3);
Tailwind
colors: {
  custom: {
    50: '#c7b370',
    500: '#ab9533',
    950: '#000000',
  },
}
SCSS
$custom: #ab9533;
$custom-light: #c7b370;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9533",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 51
  },
  "hsl": {
    "h": 49,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67139,
    "c": 0.11799,
    "h": 96.3
  },
  "luminance": 0.30392
}

Semantic roles & 50–950 ramp

primary
#AB9533
secondary
#7885C2
accent
#65DD4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9533

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

Preview Lab → · Contrast checker → · Palette generator →

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