#C9AF33#C9AF33

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

Color values

HEX#C9AF33
RGBrgb(201, 175, 51)
HSLhsl(50, 60%, 49%)
HSVhsv(50, 75%, 79%)
CMYKcmyk(0%, 12.9%, 74.6%, 21.2%)
CIE-LABlab(71.77, -3.57, 62.98)
CIE-LCHlch(71.77, 63.08, 93.25°)
OKLaboklab(75.55% -0.0165 0.1385)
OKLCHoklch(75.55% 0.139 96.8)
XYZxyz(40.0170, 43.3186, 9.3849)
Luminance0.4332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AF33 #334DC9
analogous
#C96433 #C9AF33 #98C933
triadic
#C9AF33 #33C9AF #AF33C9
tetradic
#C9AF33 #33C964 #334DC9 #C93398
square
#C9AF33 #33C964 #334DC9 #C93398
split-complementary
#C9AF33 #3398C9 #6433C9
monochromatic
#675A1A #988527 #C9AF33 #D7C362 #E4D693

Accessibility & contrast

On white

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

On black

9.66
#C9AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AF33
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AF33#FFFFFF#000000##000000
##C9AF331.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1C
Deuteranopia (green-blind)
#C8B33B
Tritanopia (blue-blind)
#D9A197
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c9af33;
/* rgb */ color: rgb(201, 175, 51);
/* oklch */ color: oklch(75.5% 0.139 96.8);
Tailwind
colors: {
  custom: {
    50: '#ddc674',
    500: '#c9af33',
    950: '#000000',
  },
}
SCSS
$custom: #c9af33;
$custom-light: #ddc674;
$custom-dark: #000000;
JSON
{
  "hex": "#c9af33",
  "rgb": {
    "r": 201,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 49.6,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75547,
    "c": 0.13946,
    "h": 96.8
  },
  "luminance": 0.43316
}

Semantic roles & 50–950 ramp

primary
#C9AF33
secondary
#8995CF
accent
#60E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C9AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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