#AB9832#AB9832

#AB9832 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.8% C 0.121 H 98.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AB9832
RGBrgb(171, 152, 50)
HSLhsl(51, 55%, 43%)
HSVhsv(51, 71%, 67%)
CMYKcmyk(0%, 11.1%, 70.8%, 32.9%)
CIE-LABlab(62.80, -4.60, 53.65)
CIE-LCHlch(62.80, 53.85, 94.90°)
OKLaboklab(67.77% -0.0178 0.1197)
OKLCHoklch(67.77% 0.121 98.5)
XYZxyz(28.5999, 31.3461, 7.5609)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9832 #3245AB
analogous
#AB5C32 #AB9832 #81AB32
triadic
#AB9832 #32AB98 #9832AB
tetradic
#AB9832 #32AB5C #3245AB #AB3281
square
#AB9832 #32AB5C #3245AB #AB3281
split-complementary
#AB9832 #3281AB #5C32AB
monochromatic
#4C4416 #7C6E24 #AB9832 #CBB84F #D9CB7E

Accessibility & contrast

On white

2.89
#AB9832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AB9832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9832
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9832#FFFFFF#000000##000000
##AB98321.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79423
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#B88D83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9832;
/* rgb */ color: rgb(171, 152, 50);
/* oklch */ color: oklch(67.8% 0.121 98.5);
Tailwind
colors: {
  custom: {
    50: '#c7b670',
    500: '#ab9832',
    950: '#000000',
  },
}
SCSS
$custom: #ab9832;
$custom-light: #c7b670;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9832",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 50
  },
  "hsl": {
    "h": 50.579,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67775,
    "c": 0.12101,
    "h": 98.5
  },
  "luminance": 0.31345
}

Semantic roles & 50–950 ramp

primary
#AB9832
secondary
#7782C2
accent
#61DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9832

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

Preview Lab → · Contrast checker → · Palette generator →

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