#C9AF2D#C9AF2D

#C9AF2D is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.143 H 97.2°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C9AF2D
RGBrgb(201, 175, 45)
HSLhsl(50, 63%, 48%)
HSVhsv(50, 78%, 79%)
CMYKcmyk(0%, 12.9%, 77.6%, 21.2%)
CIE-LABlab(71.74, -3.82, 65.02)
CIE-LCHlch(71.74, 65.13, 93.36°)
OKLaboklab(75.51% -0.0178 0.1417)
OKLCHoklch(75.51% 0.143 97.2)
XYZxyz(39.8931, 43.2691, 8.7326)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AF2D #2D47C9
analogous
#C9612D #C9AF2D #95C92D
triadic
#C9AF2D #2DC9AF #AF2DC9
tetradic
#C9AF2D #2DC961 #2D47C9 #C92D95
square
#C9AF2D #2DC961 #2D47C9 #C92D95
split-complementary
#C9AF2D #2D95C9 #612DC9
monochromatic
#655817 #978322 #C9AF2D #DAC459 #E5D68B

Accessibility & contrast

On white

2.18
#C9AF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#C9AF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AF2D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AF2D#FFFFFF#000000##000000
##C9AF2D1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB0F
Deuteranopia (green-blind)
#C8B336
Tritanopia (blue-blind)
#D9A196
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c9af2d;
/* rgb */ color: rgb(201, 175, 45);
/* oklch */ color: oklch(75.5% 0.143 97.2);
Tailwind
colors: {
  custom: {
    50: '#dec671',
    500: '#c9af2d',
    950: '#000000',
  },
}
SCSS
$custom: #c9af2d;
$custom-light: #dec671;
$custom-dark: #000000;
JSON
{
  "hex": "#c9af2d",
  "rgb": {
    "r": 201,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 50,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7551,
    "c": 0.14276,
    "h": 97.2
  },
  "luminance": 0.43267
}

Semantic roles & 50–950 ramp

primary
#C9AF2D
secondary
#838FCF
accent
#5DE641
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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