#CCAE52#CCAE52

#CCAE52 is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.9% C 0.117 H 91.4°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#CCAE52
RGBrgb(204, 174, 82)
HSLhsl(45, 54%, 56%)
HSVhsv(45, 60%, 80%)
CMYKcmyk(0%, 14.7%, 59.8%, 20%)
CIE-LABlab(72.04, 0.02, 50.30)
CIE-LCHlch(72.04, 50.30, 89.97°)
OKLaboklab(75.91% -0.0028 0.1165)
OKLCHoklch(75.91% 0.117 91.4)
XYZxyz(41.5627, 43.7208, 14.2308)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE52 #5270CC
analogous
#CC7152 #CCAE52 #ADCC52
triadic
#CCAE52 #52CCAE #AE52CC
tetradic
#CCAE52 #52CC71 #5270CC #CC52AD
square
#CCAE52 #52CC71 #5270CC #CC52AD
split-complementary
#CCAE52 #52ADCC #7152CC
monochromatic
#7E6825 #AE9033 #CCAE52 #DAC481 #E8DAB1

Accessibility & contrast

On white

2.16
#CCAE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#CCAE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE52
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE52#FFFFFF#000000##000000
##CCAE521.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccae52;
/* rgb */ color: rgb(204, 174, 82);
/* oklch */ color: oklch(75.9% 0.117 91.4);
Tailwind
colors: {
  custom: {
    50: '#dec586',
    500: '#ccae52',
    950: '#000000',
  },
}
SCSS
$custom: #ccae52;
$custom-light: #dec586;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae52",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 82
  },
  "hsl": {
    "h": 45.246,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.75907,
    "c": 0.11653,
    "h": 91.4
  },
  "luminance": 0.43719
}

Semantic roles & 50–950 ramp

primary
#CCAE52
secondary
#A4B0D6
accent
#6EDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAE52

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

Preview Lab → · Contrast checker → · Palette generator →

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