#C9AF3D#C9AF3D

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

Color values

HEX#C9AF3D
RGBrgb(201, 175, 61)
HSLhsl(49, 56%, 51%)
HSVhsv(49, 70%, 79%)
CMYKcmyk(0%, 12.9%, 69.7%, 21.2%)
CIE-LABlab(71.84, -3.10, 59.23)
CIE-LCHlch(71.84, 59.31, 92.99°)
OKLaboklab(75.62% -0.0141 0.1324)
OKLCHoklch(75.62% 0.133 96.1)
XYZxyz(40.2616, 43.4165, 10.6735)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AF3D #3D57C9
analogous
#C9693D #C9AF3D #9DC93D
triadic
#C9AF3D #3DC9AF #AF3DC9
tetradic
#C9AF3D #3DC969 #3D57C9 #C93D9D
square
#C9AF3D #3DC969 #3D57C9 #C93D9D
split-complementary
#C9AF3D #3D9DC9 #693DC9
monochromatic
#6D5F1E #9D882C #C9AF3D #D6C36D #E4D69D

Accessibility & contrast

On white

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

On black

9.68
#C9AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AF3D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AF3D#FFFFFF#000000##000000
##C9AF3D1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9af3d;
/* rgb */ color: rgb(201, 175, 61);
/* oklch */ color: oklch(75.6% 0.133 96.1);
Tailwind
colors: {
  custom: {
    50: '#ddc679',
    500: '#c9af3d',
    950: '#000000',
  },
}
SCSS
$custom: #c9af3d;
$custom-light: #ddc679;
$custom-dark: #000000;
JSON
{
  "hex": "#c9af3d",
  "rgb": {
    "r": 201,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 48.857,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75621,
    "c": 0.13313,
    "h": 96.1
  },
  "luminance": 0.43414
}

Semantic roles & 50–950 ramp

primary
#C9AF3D
secondary
#929ED0
accent
#64E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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