#CCAF4E#CCAF4E

#CCAF4E is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.121 H 92.7°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CCAF4E
RGBrgb(204, 175, 78)
HSLhsl(46, 55%, 55%)
HSVhsv(46, 62%, 80%)
CMYKcmyk(0%, 14.2%, 61.8%, 20%)
CIE-LABlab(72.26, -0.79, 52.40)
CIE-LCHlch(72.26, 52.41, 90.86°)
OKLaboklab(76.07% -0.0056 0.1205)
OKLCHoklch(76.07% 0.121 92.7)
XYZxyz(41.6089, 44.0495, 13.5170)
Luminance0.4405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAF4E #4E6BCC
analogous
#CC704E #CCAF4E #AACC4E
triadic
#CCAF4E #4ECCAF #AF4ECC
tetradic
#CCAF4E #4ECC70 #4E6BCC #CC4EAA
square
#CCAF4E #4ECC70 #4E6BCC #CC4EAA
split-complementary
#CCAF4E #4EAACC #704ECC
monochromatic
#7C6824 #AB8F31 #CCAF4E #DAC47E #E7DAAD

Accessibility & contrast

On white

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

On black

9.81
#CCAF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAF4E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAF4E#FFFFFF#000000##000000
##CCAF4E1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC44
Deuteranopia (green-blind)
#C7B552
Tritanopia (blue-blind)
#DBA29A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccaf4e;
/* rgb */ color: rgb(204, 175, 78);
/* oklch */ color: oklch(76.1% 0.121 92.7);
Tailwind
colors: {
  custom: {
    50: '#dfc683',
    500: '#ccaf4e',
    950: '#000000',
  },
}
SCSS
$custom: #ccaf4e;
$custom-light: #dfc683;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaf4e",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 46.19,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76068,
    "c": 0.12061,
    "h": 92.7
  },
  "luminance": 0.44047
}

Semantic roles & 50–950 ramp

primary
#CCAF4E
secondary
#A1ADD5
accent
#6CDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCAF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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