#CCAE42#CCAE42

#CCAE42 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.129 H 93.4°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#CCAE42
RGBrgb(204, 174, 66)
HSLhsl(47, 58%, 53%)
HSVhsv(47, 68%, 80%)
CMYKcmyk(0%, 14.7%, 67.6%, 20%)
CIE-LABlab(71.90, -1.00, 57.31)
CIE-LCHlch(71.90, 57.32, 91.00°)
OKLaboklab(75.75% -0.0077 0.1291)
OKLCHoklch(75.75% 0.129 93.4)
XYZxyz(41.0233, 43.5051, 11.3897)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE42 #4260CC
analogous
#CC6942 #CCAE42 #A5CC42
triadic
#CCAE42 #42CCAE #AE42CC
tetradic
#CCAE42 #42CC69 #4260CC #CC42A5
square
#CCAE42 #42CC69 #4260CC #CC42A5
split-complementary
#CCAE42 #42A5CC #6942CC
monochromatic
#74621F #A48A2C #CCAE42 #D9C372 #E6D7A2

Accessibility & contrast

On white

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

On black

9.70
#CCAE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE42
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE42#FFFFFF#000000##000000
##CCAE421.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#DCA198
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae42;
/* rgb */ color: rgb(204, 174, 66);
/* oklch */ color: oklch(75.7% 0.129 93.4);
Tailwind
colors: {
  custom: {
    50: '#dfc57c',
    500: '#ccae42',
    950: '#000000',
  },
}
SCSS
$custom: #ccae42;
$custom-light: #dfc57c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae42",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 46.957,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75746,
    "c": 0.12931,
    "h": 93.4
  },
  "luminance": 0.43503
}

Semantic roles & 50–950 ramp

primary
#CCAE42
secondary
#97A4D3
accent
#68E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAE42

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

Preview Lab → · Contrast checker → · Palette generator →

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