#AB9B33#AB9B33

#AB9B33 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.4% C 0.123 H 100.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AB9B33
RGBrgb(171, 155, 51)
HSLhsl(52, 54%, 44%)
HSVhsv(52, 70%, 67%)
CMYKcmyk(0%, 9.4%, 70.2%, 32.9%)
CIE-LABlab(63.62, -6.16, 54.08)
CIE-LCHlch(63.62, 54.43, 96.49°)
OKLaboklab(68.43% -0.0221 0.1208)
OKLCHoklch(68.43% 0.123 100.4)
XYZxyz(29.1148, 32.3410, 7.8402)
Luminance0.3234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B33 #3343AB
analogous
#AB5F33 #AB9B33 #7FAB33
triadic
#AB9B33 #33AB9B #9B33AB
tetradic
#AB9B33 #33AB5F #3343AB #AB337F
square
#AB9B33 #33AB5F #3343AB #AB337F
split-complementary
#AB9B33 #337FAB #5F33AB
monochromatic
#4D4617 #7C7025 #AB9B33 #CBBB50 #D9CD7F

Accessibility & contrast

On white

2.81
#AB9B33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AB9B33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B33
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B33#FFFFFF#000000##000000
##AB9B331.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9724
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#B89086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b33;
/* rgb */ color: rgb(171, 155, 51);
/* oklch */ color: oklch(68.4% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#c7b871',
    500: '#ab9b33',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b33;
$custom-light: #c7b871;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b33",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 51
  },
  "hsl": {
    "h": 52,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68432,
    "c": 0.12278,
    "h": 100.4
  },
  "luminance": 0.3234
}

Semantic roles & 50–950 ramp

primary
#AB9B33
secondary
#7882C2
accent
#5EDD4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9B33

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

Preview Lab → · Contrast checker → · Palette generator →

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