#CCAF41#CCAF41

#CCAF41 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.131 H 94.2°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CCAF41
RGBrgb(204, 175, 65)
HSLhsl(47, 58%, 53%)
HSVhsv(47, 68%, 80%)
CMYKcmyk(0%, 14.2%, 68.1%, 20%)
CIE-LABlab(72.15, -1.58, 57.99)
CIE-LCHlch(72.15, 58.01, 91.57°)
OKLaboklab(75.94% -0.0095 0.1304)
OKLCHoklch(75.94% 0.131 94.2)
XYZxyz(41.1880, 43.8812, 11.3005)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAF41 #415ECC
analogous
#CC6941 #CCAF41 #A3CC41
triadic
#CCAF41 #41CCAF #AF41CC
tetradic
#CCAF41 #41CC69 #415ECC #CC41A3
square
#CCAF41 #41CC69 #415ECC #CC41A3
split-complementary
#CCAF41 #41A3CC #6941CC
monochromatic
#74621F #A48B2C #CCAF41 #D9C371 #E6D8A1

Accessibility & contrast

On white

2.15
#CCAF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CCAF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAF41
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAF41#FFFFFF#000000##000000
##CCAF411.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC33
Deuteranopia (green-blind)
#C8B547
Tritanopia (blue-blind)
#DCA298
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccaf41;
/* rgb */ color: rgb(204, 175, 65);
/* oklch */ color: oklch(75.9% 0.131 94.2);
Tailwind
colors: {
  custom: {
    50: '#dfc67b',
    500: '#ccaf41',
    950: '#000000',
  },
}
SCSS
$custom: #ccaf41;
$custom-light: #dfc67b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaf41",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 47.482,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75943,
    "c": 0.1307,
    "h": 94.2
  },
  "luminance": 0.43879
}

Semantic roles & 50–950 ramp

primary
#CCAF41
secondary
#96A3D3
accent
#67E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCAF41

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

Preview Lab → · Contrast checker → · Palette generator →

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