#AB9B2D#AB9B2D

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

Color values

HEX#AB9B2D
RGBrgb(171, 155, 45)
HSLhsl(52, 58%, 42%)
HSVhsv(52, 74%, 67%)
CMYKcmyk(0%, 9.4%, 73.7%, 32.9%)
CIE-LABlab(63.58, -6.46, 56.38)
CIE-LCHlch(63.58, 56.75, 96.53°)
OKLaboklab(68.39% -0.0236 0.1245)
OKLCHoklch(68.39% 0.127 100.7)
XYZxyz(28.9909, 32.2914, 7.1879)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B2D #2D3DAB
analogous
#AB5C2D #AB9B2D #7CAB2D
triadic
#AB9B2D #2DAB9B #9B2DAB
tetradic
#AB9B2D #2DAB5C #2D3DAB #AB2D7C
square
#AB9B2D #2DAB5C #2D3DAB #AB2D7C
split-complementary
#AB9B2D #2D7CAB #5C2DAB
monochromatic
#4A4314 #7B6F20 #AB9B2D #CEBD47 #DBCF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9B2D#FFFFFF#000000##000000
##AB9B2D1.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)
#AA961A
Deuteranopia (green-blind)
#AE9D34
Tritanopia (blue-blind)
#B89086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b2d;
/* rgb */ color: rgb(171, 155, 45);
/* oklch */ color: oklch(68.4% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#c8b86e',
    500: '#ab9b2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b2d;
$custom-light: #c8b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b2d",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 52.381,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68387,
    "c": 0.12675,
    "h": 100.7
  },
  "luminance": 0.3229
}

Semantic roles & 50–950 ramp

primary
#AB9B2D
secondary
#717BC3
accent
#5AE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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