#CCAF49#CCAF49

#CCAF49 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.125 H 93.3°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CCAF49
RGBrgb(204, 175, 73)
HSLhsl(47, 56%, 54%)
HSVhsv(47, 64%, 80%)
CMYKcmyk(0%, 14.2%, 64.2%, 20%)
CIE-LABlab(72.22, -1.11, 54.61)
CIE-LCHlch(72.22, 54.62, 91.17°)
OKLaboklab(76.02% -0.0071 0.1245)
OKLCHoklch(76.02% 0.125 93.3)
XYZxyz(41.4364, 43.9805, 12.6086)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAF49 #4966CC
analogous
#CC6E49 #CCAF49 #A7CC49
triadic
#CCAF49 #49CCAF #AF49CC
tetradic
#CCAF49 #49CC6E #4966CC #CC49A7
square
#CCAF49 #49CC6E #4966CC #CC49A7
split-complementary
#CCAF49 #49A7CC #6E49CC
monochromatic
#796622 #A98E2F #CCAF49 #D9C479 #E7D9A9

Accessibility & contrast

On white

2.14
#CCAF49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#CCAF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAF49
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAF49#FFFFFF#000000##000000
##CCAF491.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3D
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#DCA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccaf49;
/* rgb */ color: rgb(204, 175, 73);
/* oklch */ color: oklch(76.0% 0.125 93.3);
Tailwind
colors: {
  custom: {
    50: '#dfc680',
    500: '#ccaf49',
    950: '#000000',
  },
}
SCSS
$custom: #ccaf49;
$custom-light: #dfc680;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaf49",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 46.718,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76017,
    "c": 0.12467,
    "h": 93.3
  },
  "luminance": 0.43978
}

Semantic roles & 50–950 ramp

primary
#CCAF49
secondary
#9DA9D4
accent
#6AE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCAF49

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

Preview Lab → · Contrast checker → · Palette generator →

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