#CCAE51#CCAE51

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

Color values

HEX#CCAE51
RGBrgb(204, 174, 81)
HSLhsl(45, 55%, 56%)
HSVhsv(45, 60%, 80%)
CMYKcmyk(0%, 14.7%, 60.3%, 20%)
CIE-LABlab(72.03, -0.05, 50.76)
CIE-LCHlch(72.03, 50.76, 90.05°)
OKLaboklab(75.9% -0.0031 0.1174)
OKLCHoklch(75.9% 0.117 91.5)
XYZxyz(41.5250, 43.7057, 14.0318)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE51 #516FCC
analogous
#CC7051 #CCAE51 #ACCC51
triadic
#CCAE51 #51CCAE #AE51CC
tetradic
#CCAE51 #51CC70 #516FCC #CC51AC
square
#CCAE51 #51CC70 #516FCC #CC51AC
split-complementary
#CCAE51 #51ACCC #7051CC
monochromatic
#7E6825 #AD8F33 #CCAE51 #DAC480 #E8DAB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAE51#FFFFFF#000000##000000
##CCAE511.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)
#BFAC47
Deuteranopia (green-blind)
#C6B455
Tritanopia (blue-blind)
#DBA199
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccae51;
/* rgb */ color: rgb(204, 174, 81);
/* oklch */ color: oklch(75.9% 0.117 91.5);
Tailwind
colors: {
  custom: {
    50: '#dec585',
    500: '#ccae51',
    950: '#000000',
  },
}
SCSS
$custom: #ccae51;
$custom-light: #dec585;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae51",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 81
  },
  "hsl": {
    "h": 45.366,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.75896,
    "c": 0.11739,
    "h": 91.5
  },
  "luminance": 0.43704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCAE51

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

Preview Lab → · Contrast checker → · Palette generator →

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