#CCAE4D#CCAE4D

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

Color values

HEX#CCAE4D
RGBrgb(204, 174, 77)
HSLhsl(46, 55%, 55%)
HSVhsv(46, 62%, 80%)
CMYKcmyk(0%, 14.7%, 62.3%, 20%)
CIE-LABlab(71.99, -0.32, 52.56)
CIE-LCHlch(71.99, 52.56, 90.35°)
OKLaboklab(75.85% -0.0044 0.1207)
OKLCHoklch(75.85% 0.121 92.1)
XYZxyz(41.3794, 43.6475, 13.2650)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE4D #4D6BCC
analogous
#CC6F4D #CCAE4D #AACC4D
triadic
#CCAE4D #4DCCAE #AE4DCC
tetradic
#CCAE4D #4DCC6F #4D6BCC #CC4DAA
square
#CCAE4D #4DCC6F #4D6BCC #CC4DAA
split-complementary
#CCAE4D #4DAACC #6F4DCC
monochromatic
#7B6723 #AB8E31 #CCAE4D #DAC47D #E7D9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAE4D#FFFFFF#000000##000000
##CCAE4D1.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)
#BFAB43
Deuteranopia (green-blind)
#C7B451
Tritanopia (blue-blind)
#DCA199
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae4d;
/* rgb */ color: rgb(204, 174, 77);
/* oklch */ color: oklch(75.9% 0.121 92.1);
Tailwind
colors: {
  custom: {
    50: '#dfc582',
    500: '#ccae4d',
    950: '#000000',
  },
}
SCSS
$custom: #ccae4d;
$custom-light: #dfc582;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae4d",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 77
  },
  "hsl": {
    "h": 45.827,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75853,
    "c": 0.12077,
    "h": 92.1
  },
  "luminance": 0.43645
}

Semantic roles & 50–950 ramp

primary
#CCAE4D
secondary
#A0ACD5
accent
#6CDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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