#CCAD4B#CCAD4B

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

Color values

HEX#CCAD4B
RGBrgb(204, 173, 75)
HSLhsl(46, 56%, 55%)
HSVhsv(46, 63%, 80%)
CMYKcmyk(0%, 15.2%, 63.2%, 20%)
CIE-LABlab(71.71, 0.07, 53.17)
CIE-LCHlch(71.71, 53.17, 89.92°)
OKLaboklab(75.63% -0.0035 0.1217)
OKLCHoklch(75.63% 0.122 91.6)
XYZxyz(41.1174, 43.2347, 12.8346)
Luminance0.4323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD4B #4B6ACC
analogous
#CC6C4B #CCAD4B #ABCC4B
triadic
#CCAD4B #4BCCAD #AD4BCC
tetradic
#CCAD4B #4BCC6C #4B6ACC #CC4BAB
square
#CCAD4B #4BCC6C #4B6ACC #CC4BAB
split-complementary
#CCAD4B #4BABCC #6C4BCC
monochromatic
#7A6523 #AA8C30 #CCAD4B #DAC37B #E7D8AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAD4B#FFFFFF#000000##000000
##CCAD4B1.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)
#BEAB40
Deuteranopia (green-blind)
#C6B34F
Tritanopia (blue-blind)
#DCA098
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccad4b;
/* rgb */ color: rgb(204, 173, 75);
/* oklch */ color: oklch(75.6% 0.122 91.6);
Tailwind
colors: {
  custom: {
    50: '#dfc581',
    500: '#ccad4b',
    950: '#000000',
  },
}
SCSS
$custom: #ccad4b;
$custom-light: #dfc581;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad4b",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 75
  },
  "hsl": {
    "h": 45.581,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75627,
    "c": 0.12174,
    "h": 91.6
  },
  "luminance": 0.43233
}

Semantic roles & 50–950 ramp

primary
#CCAD4B
secondary
#9EABD5
accent
#6DDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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