#CCAD4E#CCAD4E

#CCAD4E is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.7% C 0.119 H 91.2°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#CCAD4E
RGBrgb(204, 173, 78)
HSLhsl(45, 55%, 55%)
HSVhsv(45, 62%, 80%)
CMYKcmyk(0%, 15.2%, 61.8%, 20%)
CIE-LABlab(71.74, 0.27, 51.83)
CIE-LCHlch(71.74, 51.83, 89.70°)
OKLaboklab(75.66% -0.0025 0.1193)
OKLCHoklch(75.66% 0.119 91.2)
XYZxyz(41.2225, 43.2768, 13.3882)
Luminance0.4328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD4E #4E6DCC
analogous
#CC6E4E #CCAD4E #ACCC4E
triadic
#CCAD4E #4ECCAD #AD4ECC
tetradic
#CCAD4E #4ECC6E #4E6DCC #CC4EAC
square
#CCAD4E #4ECC6E #4E6DCC #CC4EAC
split-complementary
#CCAD4E #4EACCC #6E4ECC
monochromatic
#7C6624 #AB8D31 #CCAD4E #DAC37E #E7D9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAD4E#FFFFFF#000000##000000
##CCAD4E1.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)
#BEAB44
Deuteranopia (green-blind)
#C6B452
Tritanopia (blue-blind)
#DCA098
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccad4e;
/* rgb */ color: rgb(204, 173, 78);
/* oklch */ color: oklch(75.7% 0.119 91.2);
Tailwind
colors: {
  custom: {
    50: '#dfc583',
    500: '#ccad4e',
    950: '#000000',
  },
}
SCSS
$custom: #ccad4e;
$custom-light: #dfc583;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad4e",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 78
  },
  "hsl": {
    "h": 45.238,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75658,
    "c": 0.11928,
    "h": 91.2
  },
  "luminance": 0.43275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCAD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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