#AB9D33#AB9D33

#AB9D33 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.9% C 0.124 H 101.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AB9D33
RGBrgb(171, 157, 51)
HSLhsl(53, 54%, 44%)
HSVhsv(53, 70%, 67%)
CMYKcmyk(0%, 8.2%, 70.2%, 32.9%)
CIE-LABlab(64.17, -7.22, 54.63)
CIE-LCHlch(64.17, 55.10, 97.53°)
OKLaboklab(68.87% -0.0252 0.1219)
OKLCHoklch(68.87% 0.125 101.7)
XYZxyz(29.4504, 33.0122, 7.9520)
Luminance0.3301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D33 #3341AB
analogous
#AB6133 #AB9D33 #7DAB33
triadic
#AB9D33 #33AB9D #9D33AB
tetradic
#AB9D33 #33AB61 #3341AB #AB337D
square
#AB9D33 #33AB61 #3341AB #AB337D
split-complementary
#AB9D33 #337DAB #6133AB
monochromatic
#4D4617 #7C7225 #AB9D33 #CBBD50 #D9CF7F

Accessibility & contrast

On white

2.76
#AB9D33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#AB9D33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D33
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D33#FFFFFF#000000##000000
##AB9D331.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9823
Deuteranopia (green-blind)
#B09E3A
Tritanopia (blue-blind)
#B89288
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9d33;
/* rgb */ color: rgb(171, 157, 51);
/* oklch */ color: oklch(68.9% 0.124 101.7);
Tailwind
colors: {
  custom: {
    50: '#c7b971',
    500: '#ab9d33',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d33;
$custom-light: #c7b971;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d33",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 51
  },
  "hsl": {
    "h": 53,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68866,
    "c": 0.1245,
    "h": 101.7
  },
  "luminance": 0.33011
}

Semantic roles & 50–950 ramp

primary
#AB9D33
secondary
#7880C2
accent
#5CDD4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9D33

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

Preview Lab → · Contrast checker → · Palette generator →

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