#CCAE2D#CCAE2D

#CCAE2D is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.6% C 0.142 H 95.1°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CCAE2D
RGBrgb(204, 174, 45)
HSLhsl(49, 64%, 49%)
HSVhsv(49, 78%, 80%)
CMYKcmyk(0%, 14.7%, 77.9%, 20%)
CIE-LABlab(71.76, -1.98, 65.15)
CIE-LCHlch(71.76, 65.18, 91.74°)
OKLaboklab(75.59% -0.0127 0.1418)
OKLCHoklch(75.59% 0.142 95.1)
XYZxyz(40.5138, 43.3012, 8.7062)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE2D #2D4BCC
analogous
#CC5F2D #CCAE2D #9BCC2D
triadic
#CCAE2D #2DCCAE #AE2DCC
tetradic
#CCAE2D #2DCC5F #2D4BCC #CC2D9B
square
#CCAE2D #2DCC5F #2D4BCC #CC2D9B
split-complementary
#CCAE2D #2D9BCC #5F2DCC
monochromatic
#685817 #9A8322 #CCAE2D #DBC35B #E6D58D

Accessibility & contrast

On white

2.17
#CCAE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CCAE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE2D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE2D#FFFFFF#000000##000000
##CCAE2D1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA0F
Deuteranopia (green-blind)
#C8B436
Tritanopia (blue-blind)
#DDA096
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae2d;
/* rgb */ color: rgb(204, 174, 45);
/* oklch */ color: oklch(75.6% 0.142 95.1);
Tailwind
colors: {
  custom: {
    50: '#e0c571',
    500: '#ccae2d',
    950: '#000000',
  },
}
SCSS
$custom: #ccae2d;
$custom-light: #e0c571;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae2d",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 48.679,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75594,
    "c": 0.14235,
    "h": 95.1
  },
  "luminance": 0.43299
}

Semantic roles & 50–950 ramp

primary
#CCAE2D
secondary
#8593D0
accent
#60E741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CCAE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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