#C9AC2E#C9AC2E

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

Color values

HEX#C9AC2E
RGBrgb(201, 172, 46)
HSLhsl(49, 63%, 48%)
HSVhsv(49, 77%, 79%)
CMYKcmyk(0%, 14.4%, 77.1%, 21.2%)
CIE-LABlab(70.95, -2.20, 63.97)
CIE-LCHlch(70.95, 64.01, 91.97°)
OKLaboklab(74.89% -0.0131 0.1396)
OKLCHoklch(74.89% 0.14 95.4)
XYZxyz(39.3352, 42.1220, 8.6427)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AC2E #2E4BC9
analogous
#C95E2E #C9AC2E #98C92E
triadic
#C9AC2E #2EC9AC #AC2EC9
tetradic
#C9AC2E #2EC95E #2E4BC9 #C92E98
square
#C9AC2E #2EC95E #2E4BC9 #C92E98
split-complementary
#C9AC2E #2E98C9 #5E2EC9
monochromatic
#655717 #978123 #C9AC2E #D9C25B #E5D48D

Accessibility & contrast

On white

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

On black

9.42
#C9AC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AC2E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AC2E#FFFFFF#000000##000000
##C9AC2E1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9ac2e;
/* rgb */ color: rgb(201, 172, 46);
/* oklch */ color: oklch(74.9% 0.140 95.4);
Tailwind
colors: {
  custom: {
    50: '#dec471',
    500: '#c9ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #c9ac2e;
$custom-light: #dec471;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ac2e",
  "rgb": {
    "r": 201,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 48.774,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74893,
    "c": 0.14021,
    "h": 95.4
  },
  "luminance": 0.4212
}

Semantic roles & 50–950 ramp

primary
#C9AC2E
secondary
#8492CF
accent
#61E642
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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