#AB9833#AB9833

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

Color values

HEX#AB9833
RGBrgb(171, 152, 51)
HSLhsl(51, 54%, 44%)
HSVhsv(51, 70%, 67%)
CMYKcmyk(0%, 11.1%, 70.2%, 32.9%)
CIE-LABlab(62.81, -4.54, 53.25)
CIE-LCHlch(62.81, 53.45, 94.88°)
OKLaboklab(67.78% -0.0175 0.119)
OKLCHoklch(67.78% 0.12 98.4)
XYZxyz(28.6217, 31.3548, 7.6758)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9833 #3346AB
analogous
#AB5C33 #AB9833 #82AB33
triadic
#AB9833 #33AB98 #9833AB
tetradic
#AB9833 #33AB5C #3346AB #AB3382
square
#AB9833 #33AB5C #3346AB #AB3382
split-complementary
#AB9833 #3382AB #5C33AB
monochromatic
#4D4417 #7C6E25 #AB9833 #CBB750 #D9CB7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9833#FFFFFF#000000##000000
##AB98331.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)
#A79425
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#B88D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9833;
/* rgb */ color: rgb(171, 152, 51);
/* oklch */ color: oklch(67.8% 0.120 98.4);
Tailwind
colors: {
  custom: {
    50: '#c7b671',
    500: '#ab9833',
    950: '#000000',
  },
}
SCSS
$custom: #ab9833;
$custom-light: #c7b671;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9833",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 51
  },
  "hsl": {
    "h": 50.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67784,
    "c": 0.12031,
    "h": 98.4
  },
  "luminance": 0.31353
}

Semantic roles & 50–950 ramp

primary
#AB9833
secondary
#7884C2
accent
#62DD4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9833

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

Preview Lab → · Contrast checker → · Palette generator →

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