#CCAE4A#CCAE4A

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

Color values

HEX#CCAE4A
RGBrgb(204, 174, 74)
HSLhsl(46, 56%, 55%)
HSVhsv(46, 64%, 80%)
CMYKcmyk(0%, 14.7%, 63.7%, 20%)
CIE-LABlab(71.96, -0.52, 53.89)
CIE-LCHlch(71.96, 53.90, 90.55°)
OKLaboklab(75.82% -0.0053 0.1231)
OKLCHoklch(75.82% 0.123 92.5)
XYZxyz(41.2759, 43.6061, 12.7200)
Luminance0.4360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE4A #4A68CC
analogous
#CC6D4A #CCAE4A #A9CC4A
triadic
#CCAE4A #4ACCAE #AE4ACC
tetradic
#CCAE4A #4ACC6D #4A68CC #CC4AA9
square
#CCAE4A #4ACC6D #4A68CC #CC4AA9
split-complementary
#CCAE4A #4AA9CC #6D4ACC
monochromatic
#796522 #A98D30 #CCAE4A #D9C37A #E7D9A9

Accessibility & contrast

On white

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

On black

9.72
#CCAE4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE4A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE4A#FFFFFF#000000##000000
##CCAE4A1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccae4a;
/* rgb */ color: rgb(204, 174, 74);
/* oklch */ color: oklch(75.8% 0.123 92.5);
Tailwind
colors: {
  custom: {
    50: '#dfc581',
    500: '#ccae4a',
    950: '#000000',
  },
}
SCSS
$custom: #ccae4a;
$custom-light: #dfc581;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae4a",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 74
  },
  "hsl": {
    "h": 46.154,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75822,
    "c": 0.1232,
    "h": 92.5
  },
  "luminance": 0.43604
}

Semantic roles & 50–950 ramp

primary
#CCAE4A
secondary
#9DAAD4
accent
#6BDF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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