#CCAE4C#CCAE4C

#CCAE4C is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.8% C 0.122 H 92.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CCAE4C
RGBrgb(204, 174, 76)
HSLhsl(46, 56%, 55%)
HSVhsv(46, 63%, 80%)
CMYKcmyk(0%, 14.7%, 62.7%, 20%)
CIE-LABlab(71.98, -0.39, 53.01)
CIE-LCHlch(71.98, 53.01, 90.42°)
OKLaboklab(75.84% -0.0047 0.1215)
OKLCHoklch(75.84% 0.122 92.2)
XYZxyz(41.3443, 43.6335, 13.0805)
Luminance0.4363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE4C #4C6ACC
analogous
#CC6E4C #CCAE4C #AACC4C
triadic
#CCAE4C #4CCCAE #AE4CCC
tetradic
#CCAE4C #4CCC6E #4C6ACC #CC4CAA
square
#CCAE4C #4CCC6E #4C6ACC #CC4CAA
split-complementary
#CCAE4C #4CAACC #6E4CCC
monochromatic
#7B6623 #AA8E31 #CCAE4C #DAC47C #E7D9AB

Accessibility & contrast

On white

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

On black

9.73
#CCAE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE4C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE4C#FFFFFF#000000##000000
##CCAE4C1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB41
Deuteranopia (green-blind)
#C7B450
Tritanopia (blue-blind)
#DCA199
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae4c;
/* rgb */ color: rgb(204, 174, 76);
/* oklch */ color: oklch(75.8% 0.122 92.2);
Tailwind
colors: {
  custom: {
    50: '#dfc582',
    500: '#ccae4c',
    950: '#000000',
  },
}
SCSS
$custom: #ccae4c;
$custom-light: #dfc582;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae4c",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 76
  },
  "hsl": {
    "h": 45.938,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75842,
    "c": 0.12159,
    "h": 92.2
  },
  "luminance": 0.43631
}

Semantic roles & 50–950 ramp

primary
#CCAE4C
secondary
#9FACD5
accent
#6CDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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