#C9AC3E#C9AC3E

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

Color values

HEX#C9AC3E
RGBrgb(201, 172, 62)
HSLhsl(47, 56%, 52%)
HSVhsv(47, 69%, 79%)
CMYKcmyk(0%, 14.4%, 69.2%, 21.2%)
CIE-LABlab(71.06, -1.46, 58.03)
CIE-LCHlch(71.06, 58.04, 91.44°)
OKLaboklab(75.01% -0.0093 0.13)
OKLCHoklch(75.01% 0.13 94.1)
XYZxyz(39.7114, 42.2725, 10.6242)
Luminance0.4227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AC3E #3E5BC9
analogous
#C9673E #C9AC3E #A1C93E
triadic
#C9AC3E #3EC9AC #AC3EC9
tetradic
#C9AC3E #3EC967 #3E5BC9 #C93EA1
square
#C9AC3E #3EC967 #3E5BC9 #C93EA1
split-complementary
#C9AC3E #3EA1C9 #673EC9
monochromatic
#6E5D1F #9E862C #C9AC3E #D6C16E #E4D59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9AC3E#FFFFFF#000000##000000
##C9AC3E1.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)
#BEA92F
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#D99F95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c9ac3e;
/* rgb */ color: rgb(201, 172, 62);
/* oklch */ color: oklch(75.0% 0.130 94.1);
Tailwind
colors: {
  custom: {
    50: '#ddc479',
    500: '#c9ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #c9ac3e;
$custom-light: #ddc479;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ac3e",
  "rgb": {
    "r": 201,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 47.482,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75007,
    "c": 0.13035,
    "h": 94.1
  },
  "luminance": 0.4227
}

Semantic roles & 50–950 ramp

primary
#C9AC3E
secondary
#93A0D0
accent
#68E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C9AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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