#C9AC2F#C9AC2F

#C9AC2F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.140 H 95.3°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#C9AC2F
RGBrgb(201, 172, 47)
HSLhsl(49, 62%, 49%)
HSVhsv(49, 77%, 79%)
CMYKcmyk(0%, 14.4%, 76.6%, 21.2%)
CIE-LABlab(70.96, -2.16, 63.63)
CIE-LCHlch(70.96, 63.67, 91.94°)
OKLaboklab(74.9% -0.0129 0.1391)
OKLCHoklch(74.9% 0.14 95.3)
XYZxyz(39.3551, 42.1300, 8.7478)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AC2F #2F4CC9
analogous
#C95F2F #C9AC2F #99C92F
triadic
#C9AC2F #2FC9AC #AC2FC9
tetradic
#C9AC2F #2FC95F #2F4CC9 #C92F99
square
#C9AC2F #2FC95F #2F4CC9 #C92F99
split-complementary
#C9AC2F #2F99C9 #5F2FC9
monochromatic
#665718 #978223 #C9AC2F #D9C15C #E5D48E

Accessibility & contrast

On white

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

On black

9.43
#C9AC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AC2F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AC2F#FFFFFF#000000##000000
##C9AC2F1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA816
Deuteranopia (green-blind)
#C6B137
Tritanopia (blue-blind)
#D99E94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c9ac2f;
/* rgb */ color: rgb(201, 172, 47);
/* oklch */ color: oklch(74.9% 0.140 95.3);
Tailwind
colors: {
  custom: {
    50: '#dec471',
    500: '#c9ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #c9ac2f;
$custom-light: #dec471;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ac2f",
  "rgb": {
    "r": 201,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 48.701,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74899,
    "c": 0.13968,
    "h": 95.3
  },
  "luminance": 0.42128
}

Semantic roles & 50–950 ramp

primary
#C9AC2F
secondary
#8593CF
accent
#61E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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