#C9AC3F#C9AC3F

#C9AC3F is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.0% C 0.130 H 94.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C9AC3F
RGBrgb(201, 172, 63)
HSLhsl(47, 56%, 52%)
HSVhsv(47, 69%, 79%)
CMYKcmyk(0%, 14.4%, 68.7%, 21.2%)
CIE-LABlab(71.07, -1.41, 57.62)
CIE-LCHlch(71.07, 57.64, 91.40°)
OKLaboklab(75.02% -0.009 0.1293)
OKLCHoklch(75.02% 0.13 94)
XYZxyz(39.7391, 42.2836, 10.7701)
Luminance0.4228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AC3F #3F5CC9
analogous
#C9673F #C9AC3F #A1C93F
triadic
#C9AC3F #3FC9AC #AC3FC9
tetradic
#C9AC3F #3FC967 #3F5CC9 #C93FA1
square
#C9AC3F #3FC967 #3F5CC9 #C93FA1
split-complementary
#C9AC3F #3FA1C9 #673FC9
monochromatic
#6F5E1F #9E862D #C9AC3F #D6C16F #E4D59F

Accessibility & contrast

On white

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

On black

9.46
#C9AC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AC3F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AC3F#FFFFFF#000000##000000
##C9AC3F1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#D99F96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c9ac3f;
/* rgb */ color: rgb(201, 172, 63);
/* oklch */ color: oklch(75.0% 0.130 94.0);
Tailwind
colors: {
  custom: {
    50: '#ddc47a',
    500: '#c9ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #c9ac3f;
$custom-light: #ddc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ac3f",
  "rgb": {
    "r": 201,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 47.391,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75016,
    "c": 0.12964,
    "h": 94
  },
  "luminance": 0.42281
}

Semantic roles & 50–950 ramp

primary
#C9AC3F
secondary
#94A0D0
accent
#68DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C9AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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