#AB9733#AB9733

#AB9733 is a light, moderate yellow. Relative luminance 0.310; OKLCH L 67.6% C 0.120 H 97.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AB9733
RGBrgb(171, 151, 51)
HSLhsl(50, 54%, 44%)
HSVhsv(50, 70%, 67%)
CMYKcmyk(0%, 11.7%, 70.2%, 32.9%)
CIE-LABlab(62.53, -4.00, 52.98)
CIE-LCHlch(62.53, 53.13, 94.32°)
OKLaboklab(67.57% -0.016 0.1184)
OKLCHoklch(67.57% 0.12 97.7)
XYZxyz(28.4601, 31.0316, 7.6219)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9733 #3347AB
analogous
#AB5B33 #AB9733 #83AB33
triadic
#AB9733 #33AB97 #9733AB
tetradic
#AB9733 #33AB5B #3347AB #AB3383
square
#AB9733 #33AB5B #3347AB #AB3383
split-complementary
#AB9733 #3383AB #5B33AB
monochromatic
#4D4417 #7C6D25 #AB9733 #CBB650 #D9CA7F

Accessibility & contrast

On white

2.91
#AB9733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AB9733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9733
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9733#FFFFFF#000000##000000
##AB97331.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69325
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#B88C83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab9733;
/* rgb */ color: rgb(171, 151, 51);
/* oklch */ color: oklch(67.6% 0.120 97.7);
Tailwind
colors: {
  custom: {
    50: '#c7b571',
    500: '#ab9733',
    950: '#000000',
  },
}
SCSS
$custom: #ab9733;
$custom-light: #c7b571;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9733",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 51
  },
  "hsl": {
    "h": 50,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67568,
    "c": 0.11952,
    "h": 97.7
  },
  "luminance": 0.3103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB9733

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

Preview Lab → · Contrast checker → · Palette generator →

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