#C9AF45#C9AF45

#C9AF45 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.127 H 95.3°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C9AF45
RGBrgb(201, 175, 69)
HSLhsl(48, 55%, 53%)
HSVhsv(48, 66%, 79%)
CMYKcmyk(0%, 12.9%, 65.7%, 21.2%)
CIE-LABlab(71.90, -2.65, 55.94)
CIE-LCHlch(71.90, 56.01, 92.71°)
OKLaboklab(75.69% -0.0118 0.1268)
OKLCHoklch(75.69% 0.127 95.3)
XYZxyz(40.4934, 43.5092, 11.8943)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AF45 #455FC9
analogous
#C96D45 #C9AF45 #A1C945
triadic
#C9AF45 #45C9AF #AF45C9
tetradic
#C9AF45 #45C96D #455FC9 #C945A1
square
#C9AF45 #45C96D #455FC9 #C945A1
split-complementary
#C9AF45 #45A1C9 #6D45C9
monochromatic
#726221 #A28B2F #C9AF45 #D7C374 #E5D8A4

Accessibility & contrast

On white

2.16
#C9AF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#C9AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AF45
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AF45#FFFFFF#000000##000000
##C9AF451.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB38
Deuteranopia (green-blind)
#C7B44A
Tritanopia (blue-blind)
#D8A299
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c9af45;
/* rgb */ color: rgb(201, 175, 69);
/* oklch */ color: oklch(75.7% 0.127 95.3);
Tailwind
colors: {
  custom: {
    50: '#ddc67e',
    500: '#c9af45',
    950: '#000000',
  },
}
SCSS
$custom: #c9af45;
$custom-light: #ddc67e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9af45",
  "rgb": {
    "r": 201,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 48.182,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7569,
    "c": 0.12732,
    "h": 95.3
  },
  "luminance": 0.43507
}

Semantic roles & 50–950 ramp

primary
#C9AF45
secondary
#98A4D1
accent
#67DE49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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