#CCAE54#CCAE54

#CCAE54 is a light, moderate yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.115 H 91.0°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#CCAE54
RGBrgb(204, 174, 84)
HSLhsl(45, 54%, 56%)
HSVhsv(45, 59%, 80%)
CMYKcmyk(0%, 14.7%, 58.8%, 20%)
CIE-LABlab(72.06, 0.17, 49.38)
CIE-LCHlch(72.06, 49.38, 89.80°)
OKLaboklab(75.93% -0.0021 0.1148)
OKLCHoklch(75.93% 0.115 91)
XYZxyz(41.6400, 43.7517, 14.6374)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE54 #5472CC
analogous
#CC7254 #CCAE54 #AECC54
triadic
#CCAE54 #54CCAE #AE54CC
tetradic
#CCAE54 #54CC72 #5472CC #CC54AE
square
#CCAE54 #54CC72 #5472CC #CC54AE
split-complementary
#CCAE54 #54AECC #7254CC
monochromatic
#806926 #AF9034 #CCAE54 #DAC483 #E8DBB2

Accessibility & contrast

On white

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

On black

9.75
#CCAE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE54
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE54#FFFFFF#000000##000000
##CCAE541.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccae54;
/* rgb */ color: rgb(204, 174, 84);
/* oklch */ color: oklch(75.9% 0.115 91.0);
Tailwind
colors: {
  custom: {
    50: '#dec587',
    500: '#ccae54',
    950: '#000000',
  },
}
SCSS
$custom: #ccae54;
$custom-light: #dec587;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae54",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 84
  },
  "hsl": {
    "h": 45,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7593,
    "c": 0.11478,
    "h": 91
  },
  "luminance": 0.4375
}

Semantic roles & 50–950 ramp

primary
#CCAE54
secondary
#A5B2D7
accent
#6FDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAE54

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

Preview Lab → · Contrast checker → · Palette generator →

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