#C9AC3B#C9AC3B

#C9AC3B is a light, vivid yellow. Relative luminance 0.422; OKLCH L 75.0% C 0.132 H 94.4°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#C9AC3B
RGBrgb(201, 172, 59)
HSLhsl(48, 57%, 51%)
HSVhsv(48, 71%, 79%)
CMYKcmyk(0%, 14.4%, 70.6%, 21.2%)
CIE-LABlab(71.04, -1.62, 59.22)
CIE-LCHlch(71.04, 59.24, 91.56°)
OKLaboklab(74.98% -0.0101 0.132)
OKLCHoklch(74.98% 0.132 94.4)
XYZxyz(39.6314, 42.2405, 10.2026)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AC3B #3B58C9
analogous
#C9653B #C9AC3B #9FC93B
triadic
#C9AC3B #3BC9AC #AC3BC9
tetradic
#C9AC3B #3BC965 #3B58C9 #C93B9F
square
#C9AC3B #3BC965 #3B58C9 #C93B9F
split-complementary
#C9AC3B #3B9FC9 #653BC9
monochromatic
#6C5C1E #9C852B #C9AC3B #D6C06B #E3D59B

Accessibility & contrast

On white

2.22
#C9AC3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#C9AC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AC3B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AC3B#FFFFFF#000000##000000
##C9AC3B1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92B
Deuteranopia (green-blind)
#C5B241
Tritanopia (blue-blind)
#D99F95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c9ac3b;
/* rgb */ color: rgb(201, 172, 59);
/* oklch */ color: oklch(75.0% 0.132 94.4);
Tailwind
colors: {
  custom: {
    50: '#ddc478',
    500: '#c9ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #c9ac3b;
$custom-light: #ddc478;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ac3b",
  "rgb": {
    "r": 201,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 47.746,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74983,
    "c": 0.1324,
    "h": 94.4
  },
  "luminance": 0.42238
}

Semantic roles & 50–950 ramp

primary
#C9AC3B
secondary
#909DCF
accent
#67E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C9AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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