#AB9933#AB9933

#AB9933 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.121 H 99.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AB9933
RGBrgb(171, 153, 51)
HSLhsl(51, 54%, 44%)
HSVhsv(51, 70%, 67%)
CMYKcmyk(0%, 10.5%, 70.2%, 32.9%)
CIE-LABlab(63.08, -5.08, 53.53)
CIE-LCHlch(63.08, 53.77, 95.42°)
OKLaboklab(68% -0.0191 0.1196)
OKLCHoklch(68% 0.121 99.1)
XYZxyz(28.7847, 31.6808, 7.7301)
Luminance0.3168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9933 #3345AB
analogous
#AB5D33 #AB9933 #81AB33
triadic
#AB9933 #33AB99 #9933AB
tetradic
#AB9933 #33AB5D #3345AB #AB3381
square
#AB9933 #33AB5D #3345AB #AB3381
split-complementary
#AB9933 #3381AB #5D33AB
monochromatic
#4D4517 #7C6F25 #AB9933 #CBB950 #D9CC7F

Accessibility & contrast

On white

2.86
#AB9933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AB9933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9933
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9933#FFFFFF#000000##000000
##AB99331.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89524
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9933;
/* rgb */ color: rgb(171, 153, 51);
/* oklch */ color: oklch(68.0% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#c7b671',
    500: '#ab9933',
    950: '#000000',
  },
}
SCSS
$custom: #ab9933;
$custom-light: #c7b671;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9933",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 51,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67999,
    "c": 0.12112,
    "h": 99.1
  },
  "luminance": 0.31679
}

Semantic roles & 50–950 ramp

primary
#AB9933
secondary
#7883C2
accent
#60DD4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9933

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

Preview Lab → · Contrast checker → · Palette generator →

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