#C9AF40#C9AF40

#C9AF40 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.131 H 95.8°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#C9AF40
RGBrgb(201, 175, 64)
HSLhsl(49, 56%, 52%)
HSVhsv(49, 68%, 79%)
CMYKcmyk(0%, 12.9%, 68.2%, 21.2%)
CIE-LABlab(71.86, -2.94, 58.02)
CIE-LCHlch(71.86, 58.09, 92.90°)
OKLaboklab(75.65% -0.0133 0.1304)
OKLCHoklch(75.65% 0.131 95.8)
XYZxyz(40.3447, 43.4497, 11.1111)
Luminance0.4345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AF40 #405AC9
analogous
#C96B40 #C9AF40 #9FC940
triadic
#C9AF40 #40C9AF #AF40C9
tetradic
#C9AF40 #40C96B #405AC9 #C9409F
square
#C9AF40 #40C96B #405AC9 #C9409F
split-complementary
#C9AF40 #409FC9 #6B40C9
monochromatic
#6F601F #9F892D #C9AF40 #D6C370 #E4D79F

Accessibility & contrast

On white

2.17
#C9AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#C9AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AF40
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AF40#FFFFFF#000000##000000
##C9AF401.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#D9A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c9af40;
/* rgb */ color: rgb(201, 175, 64);
/* oklch */ color: oklch(75.6% 0.131 95.8);
Tailwind
colors: {
  custom: {
    50: '#ddc67b',
    500: '#c9af40',
    950: '#000000',
  },
}
SCSS
$custom: #c9af40;
$custom-light: #ddc67b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9af40",
  "rgb": {
    "r": 201,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 48.613,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75645,
    "c": 0.13102,
    "h": 95.8
  },
  "luminance": 0.43448
}

Semantic roles & 50–950 ramp

primary
#C9AF40
secondary
#94A0D0
accent
#65DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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