#C9AB48#C9AB48

#C9AB48 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.9% C 0.122 H 92.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#C9AB48
RGBrgb(201, 171, 72)
HSLhsl(46, 54%, 54%)
HSVhsv(46, 64%, 79%)
CMYKcmyk(0%, 14.9%, 64.2%, 21.2%)
CIE-LABlab(70.88, -0.35, 53.53)
CIE-LCHlch(70.88, 53.53, 90.37°)
OKLaboklab(74.89% -0.0049 0.1221)
OKLCHoklch(74.89% 0.122 92.3)
XYZxyz(39.8219, 42.0134, 12.1415)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AB48 #4866C9
analogous
#C96A48 #C9AB48 #A6C948
triadic
#C9AB48 #48C9AB #AB48C9
tetradic
#C9AB48 #48C96A #4866C9 #C948A6
square
#C9AB48 #48C96A #4866C9 #C948A6
split-complementary
#C9AB48 #48A6C9 #6A48C9
monochromatic
#746122 #A48930 #C9AB48 #D7C177 #E5D6A7

Accessibility & contrast

On white

2.23
#C9AB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#C9AB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AB48
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AB48#FFFFFF#000000##000000
##C9AB481.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83D
Deuteranopia (green-blind)
#C4B14D
Tritanopia (blue-blind)
#D99E96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c9ab48;
/* rgb */ color: rgb(201, 171, 72);
/* oklch */ color: oklch(74.9% 0.122 92.3);
Tailwind
colors: {
  custom: {
    50: '#ddc37f',
    500: '#c9ab48',
    950: '#000000',
  },
}
SCSS
$custom: #c9ab48;
$custom-light: #ddc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ab48",
  "rgb": {
    "r": 201,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 46.047,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74893,
    "c": 0.1222,
    "h": 92.3
  },
  "luminance": 0.42011
}

Semantic roles & 50–950 ramp

primary
#C9AB48
secondary
#9BA8D2
accent
#6CDE4A
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#15120A
muted
#84817C

Preview Lab

Preview with #C9AB48

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

Preview Lab → · Contrast checker → · Palette generator →

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