#AB9B2B#AB9B2B

#AB9B2B is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.4% C 0.128 H 100.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#AB9B2B
RGBrgb(171, 155, 43)
HSLhsl(53, 60%, 42%)
HSVhsv(53, 75%, 67%)
CMYKcmyk(0%, 9.4%, 74.9%, 32.9%)
CIE-LABlab(63.57, -6.55, 57.11)
CIE-LCHlch(63.57, 57.48, 96.54°)
OKLaboklab(68.37% -0.0241 0.1257)
OKLCHoklch(68.37% 0.128 100.9)
XYZxyz(28.9533, 32.2764, 6.9899)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B2B #2B3BAB
analogous
#AB5B2B #AB9B2B #7BAB2B
triadic
#AB9B2B #2BAB9B #9B2BAB
tetradic
#AB9B2B #2BAB5B #2B3BAB #AB2B7B
square
#AB9B2B #2BAB5B #2B3BAB #AB2B7B
split-complementary
#AB9B2B #2B7BAB #5B2BAB
monochromatic
#494212 #7A6F1F #AB9B2B #D0BE43 #DCCF74

Accessibility & contrast

On white

2.82
#AB9B2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#AB9B2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B2B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B2B#FFFFFF#000000##000000
##AB9B2B1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9616
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b2b;
/* rgb */ color: rgb(171, 155, 43);
/* oklch */ color: oklch(68.4% 0.128 100.9);
Tailwind
colors: {
  custom: {
    50: '#c8b86d',
    500: '#ab9b2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b2b;
$custom-light: #c8b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b2b",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 52.5,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68373,
    "c": 0.12798,
    "h": 100.9
  },
  "luminance": 0.32275
}

Semantic roles & 50–950 ramp

primary
#AB9B2B
secondary
#6E79C4
accent
#59E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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