#AB9C31#AB9C31

#AB9C31 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.6% C 0.125 H 101.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#AB9C31
RGBrgb(171, 156, 49)
HSLhsl(53, 55%, 43%)
HSVhsv(53, 71%, 67%)
CMYKcmyk(0%, 8.8%, 71.3%, 32.9%)
CIE-LABlab(63.88, -6.79, 55.14)
CIE-LCHlch(63.88, 55.55, 97.03°)
OKLaboklab(68.63% -0.0242 0.1226)
OKLCHoklch(68.63% 0.125 101.1)
XYZxyz(29.2387, 32.6579, 7.6686)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C31 #3140AB
analogous
#AB5F31 #AB9C31 #7DAB31
triadic
#AB9C31 #31AB9C #9C31AB
tetradic
#AB9C31 #31AB5F #3140AB #AB317D
square
#AB9C31 #31AB5F #3140AB #AB317D
split-complementary
#AB9C31 #317DAB #5F31AB
monochromatic
#4C4516 #7B7123 #AB9C31 #CCBC4D #DACE7D

Accessibility & contrast

On white

2.79
#AB9C31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AB9C31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9C31
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9C31#FFFFFF#000000##000000
##AB9C311.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9720
Deuteranopia (green-blind)
#AF9D38
Tritanopia (blue-blind)
#B89187
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c31;
/* rgb */ color: rgb(171, 156, 49);
/* oklch */ color: oklch(68.6% 0.125 101.1);
Tailwind
colors: {
  custom: {
    50: '#c7b870',
    500: '#ab9c31',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c31;
$custom-light: #c7b870;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c31",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 49
  },
  "hsl": {
    "h": 52.623,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68633,
    "c": 0.125,
    "h": 101.1
  },
  "luminance": 0.32657
}

Semantic roles & 50–950 ramp

primary
#AB9C31
secondary
#757FC2
accent
#5BDF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9C31

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

Preview Lab → · Contrast checker → · Palette generator →

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