#CCAD3D#CCAD3D

#CCAD3D is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.5% C 0.132 H 93.3°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#CCAD3D
RGBrgb(204, 173, 61)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 70%, 80%)
CMYKcmyk(0%, 15.2%, 70.1%, 20%)
CIE-LABlab(71.60, -0.74, 59.08)
CIE-LCHlch(71.60, 59.08, 90.72°)
OKLaboklab(75.5% -0.0075 0.132)
OKLCHoklch(75.5% 0.132 93.3)
XYZxyz(40.6898, 43.0637, 10.5829)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD3D #3D5CCC
analogous
#CC663D #CCAD3D #A4CC3D
triadic
#CCAD3D #3DCCAD #AD3DCC
tetradic
#CCAD3D #3DCC66 #3D5CCC #CC3DA4
square
#CCAD3D #3DCC66 #3D5CCC #CC3DA4
split-complementary
#CCAD3D #3DA4CC #663DCC
monochromatic
#715F1E #A1882A #CCAD3D #D9C16D #E5D69E

Accessibility & contrast

On white

2.18
#CCAD3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#CCAD3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAD3D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAD3D#FFFFFF#000000##000000
##CCAD3D1.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2D
Deuteranopia (green-blind)
#C7B343
Tritanopia (blue-blind)
#DC9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccad3d;
/* rgb */ color: rgb(204, 173, 61);
/* oklch */ color: oklch(75.5% 0.132 93.3);
Tailwind
colors: {
  custom: {
    50: '#dfc579',
    500: '#ccad3d',
    950: '#000000',
  },
}
SCSS
$custom: #ccad3d;
$custom-light: #dfc579;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad3d",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 61
  },
  "hsl": {
    "h": 46.993,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75498,
    "c": 0.13217,
    "h": 93.3
  },
  "luminance": 0.43061
}

Semantic roles & 50–950 ramp

primary
#CCAD3D
secondary
#93A1D2
accent
#68E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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