#CCAD4D#CCAD4D

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

Color values

HEX#CCAD4D
RGBrgb(204, 173, 77)
HSLhsl(45, 55%, 55%)
HSVhsv(45, 62%, 80%)
CMYKcmyk(0%, 15.2%, 62.3%, 20%)
CIE-LABlab(71.73, 0.21, 52.28)
CIE-LCHlch(71.73, 52.28, 89.77°)
OKLaboklab(75.65% -0.0028 0.1201)
OKLCHoklch(75.65% 0.12 91.4)
XYZxyz(41.1869, 43.2626, 13.2008)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD4D #4D6CCC
analogous
#CC6D4D #CCAD4D #ACCC4D
triadic
#CCAD4D #4DCCAD #AD4DCC
tetradic
#CCAD4D #4DCC6D #4D6CCC #CC4DAC
square
#CCAD4D #4DCC6D #4D6CCC #CC4DAC
split-complementary
#CCAD4D #4DACCC #6D4DCC
monochromatic
#7B6623 #AB8D31 #CCAD4D #DAC37D #E7D9AC

Accessibility & contrast

On white

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

On black

9.65
#CCAD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAD4D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAD4D#FFFFFF#000000##000000
##CCAD4D1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB43
Deuteranopia (green-blind)
#C6B451
Tritanopia (blue-blind)
#DCA098
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccad4d;
/* rgb */ color: rgb(204, 173, 77);
/* oklch */ color: oklch(75.6% 0.120 91.4);
Tailwind
colors: {
  custom: {
    50: '#dfc582',
    500: '#ccad4d',
    950: '#000000',
  },
}
SCSS
$custom: #ccad4d;
$custom-light: #dfc582;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad4d",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 77
  },
  "hsl": {
    "h": 45.354,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75648,
    "c": 0.1201,
    "h": 91.4
  },
  "luminance": 0.4326
}

Semantic roles & 50–950 ramp

primary
#CCAD4D
secondary
#A0ADD5
accent
#6EDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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