#CCAF4A#CCAF4A

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

Color values

HEX#CCAF4A
RGBrgb(204, 175, 74)
HSLhsl(47, 56%, 55%)
HSVhsv(47, 64%, 80%)
CMYKcmyk(0%, 14.2%, 63.7%, 20%)
CIE-LABlab(72.22, -1.05, 54.18)
CIE-LCHlch(72.22, 54.19, 91.11°)
OKLaboklab(76.03% -0.0068 0.1237)
OKLCHoklch(76.03% 0.124 93.2)
XYZxyz(41.4698, 43.9939, 12.7846)
Luminance0.4399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAF4A #4A67CC
analogous
#CC6E4A #CCAF4A #A8CC4A
triadic
#CCAF4A #4ACCAF #AF4ACC
tetradic
#CCAF4A #4ACC6E #4A67CC #CC4AA8
square
#CCAF4A #4ACC6E #4A67CC #CC4AA8
split-complementary
#CCAF4A #4AA8CC #6E4ACC
monochromatic
#796622 #A98E30 #CCAF4A #D9C47A #E7D9A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAF4A#FFFFFF#000000##000000
##CCAF4A1.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)
#C0AC3F
Deuteranopia (green-blind)
#C8B54F
Tritanopia (blue-blind)
#DCA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccaf4a;
/* rgb */ color: rgb(204, 175, 74);
/* oklch */ color: oklch(76.0% 0.124 93.2);
Tailwind
colors: {
  custom: {
    50: '#dfc681',
    500: '#ccaf4a',
    950: '#000000',
  },
}
SCSS
$custom: #ccaf4a;
$custom-light: #dfc681;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaf4a",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 46.615,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76027,
    "c": 0.12388,
    "h": 93.2
  },
  "luminance": 0.43992
}

Semantic roles & 50–950 ramp

primary
#CCAF4A
secondary
#9DAAD4
accent
#6ADF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCAF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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