#CCAE3C#CCAE3C

#CCAE3C is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.7% C 0.133 H 94.0°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CCAE3C
RGBrgb(204, 174, 60)
HSLhsl(48, 59%, 52%)
HSVhsv(48, 71%, 80%)
CMYKcmyk(0%, 14.7%, 70.6%, 20%)
CIE-LABlab(71.85, -1.32, 59.73)
CIE-LCHlch(71.85, 59.75, 91.27°)
OKLaboklab(75.7% -0.0093 0.1332)
OKLCHoklch(75.7% 0.133 94)
XYZxyz(40.8556, 43.4380, 10.5065)
Luminance0.4344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE3C #3C5ACC
analogous
#CC663C #CCAE3C #A2CC3C
triadic
#CCAE3C #3CCCAE #AE3CCC
tetradic
#CCAE3C #3CCC66 #3C5ACC #CC3CA2
square
#CCAE3C #3CCC66 #3C5ACC #CC3CA2
split-complementary
#CCAE3C #3CA2CC #663CCC
monochromatic
#705F1D #A1882A #CCAE3C #D9C26D #E5D69D

Accessibility & contrast

On white

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

On black

9.69
#CCAE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE3C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE3C#FFFFFF#000000##000000
##CCAE3C1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2C
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae3c;
/* rgb */ color: rgb(204, 174, 60);
/* oklch */ color: oklch(75.7% 0.133 94.0);
Tailwind
colors: {
  custom: {
    50: '#dfc578',
    500: '#ccae3c',
    950: '#000000',
  },
}
SCSS
$custom: #ccae3c;
$custom-light: #dfc578;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae3c",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 47.5,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75696,
    "c": 0.13349,
    "h": 94
  },
  "luminance": 0.43436
}

Semantic roles & 50–950 ramp

primary
#CCAE3C
secondary
#929FD1
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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