#AB9B2C#AB9B2C

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

Color values

HEX#AB9B2C
RGBrgb(171, 155, 44)
HSLhsl(52, 59%, 42%)
HSVhsv(52, 74%, 67%)
CMYKcmyk(0%, 9.4%, 74.3%, 32.9%)
CIE-LABlab(63.58, -6.50, 56.75)
CIE-LCHlch(63.58, 57.12, 96.54°)
OKLaboklab(68.38% -0.0239 0.1251)
OKLCHoklch(68.38% 0.127 100.8)
XYZxyz(28.9719, 32.2838, 7.0877)
Luminance0.3228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B2C #2C3CAB
analogous
#AB5C2C #AB9B2C #7CAB2C
triadic
#AB9B2C #2CAB9B #9B2CAB
tetradic
#AB9B2C #2CAB5C #2C3CAB #AB2C7C
square
#AB9B2C #2CAB5C #2C3CAB #AB2C7C
split-complementary
#AB9B2C #2C7CAB #5C2CAB
monochromatic
#4A4313 #7A6F1F #AB9B2C #CFBE45 #DCCF76

Accessibility & contrast

On white

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

On black

7.46
#AB9B2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B2C
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B2C#FFFFFF#000000##000000
##AB9B2C1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9618
Deuteranopia (green-blind)
#AE9D33
Tritanopia (blue-blind)
#B89085
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b2c;
/* rgb */ color: rgb(171, 155, 44);
/* oklch */ color: oklch(68.4% 0.127 100.8);
Tailwind
colors: {
  custom: {
    50: '#c8b86d',
    500: '#ab9b2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b2c;
$custom-light: #c8b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b2c",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 44
  },
  "hsl": {
    "h": 52.441,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6838,
    "c": 0.12737,
    "h": 100.8
  },
  "luminance": 0.32282
}

Semantic roles & 50–950 ramp

primary
#AB9B2C
secondary
#6F7AC3
accent
#59E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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