#CCAE3D#CCAE3D

#CCAE3D is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.7% C 0.133 H 93.9°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CCAE3D
RGBrgb(204, 174, 61)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 70%, 80%)
CMYKcmyk(0%, 14.7%, 70.1%, 20%)
CIE-LABlab(71.86, -1.27, 59.34)
CIE-LCHlch(71.86, 59.35, 91.23°)
OKLaboklab(75.7% -0.009 0.1325)
OKLCHoklch(75.7% 0.133 93.9)
XYZxyz(40.8823, 43.4487, 10.6470)
Luminance0.4345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE3D #3D5BCC
analogous
#CC673D #CCAE3D #A2CC3D
triadic
#CCAE3D #3DCCAE #AE3DCC
tetradic
#CCAE3D #3DCC67 #3D5BCC #CC3DA2
square
#CCAE3D #3DCC67 #3D5BCC #CC3DA2
split-complementary
#CCAE3D #3DA2CC #673DCC
monochromatic
#715F1E #A1882A #CCAE3D #D9C26D #E5D69E

Accessibility & contrast

On white

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

On black

9.69
#CCAE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE3D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE3D#FFFFFF#000000##000000
##CCAE3D1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2D
Deuteranopia (green-blind)
#C8B443
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae3d;
/* rgb */ color: rgb(204, 174, 61);
/* oklch */ color: oklch(75.7% 0.133 93.9);
Tailwind
colors: {
  custom: {
    50: '#dfc579',
    500: '#ccae3d',
    950: '#000000',
  },
}
SCSS
$custom: #ccae3d;
$custom-light: #dfc579;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae3d",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 61
  },
  "hsl": {
    "h": 47.413,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75704,
    "c": 0.13282,
    "h": 93.9
  },
  "luminance": 0.43446
}

Semantic roles & 50–950 ramp

primary
#CCAE3D
secondary
#93A0D2
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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