#CCAE4B#CCAE4B

#CCAE4B is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.8% C 0.122 H 92.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CCAE4B
RGBrgb(204, 174, 75)
HSLhsl(46, 56%, 55%)
HSVhsv(46, 63%, 80%)
CMYKcmyk(0%, 14.7%, 63.2%, 20%)
CIE-LABlab(71.97, -0.46, 53.45)
CIE-LCHlch(71.97, 53.45, 90.49°)
OKLaboklab(75.83% -0.005 0.1223)
OKLCHoklch(75.83% 0.122 92.3)
XYZxyz(41.3098, 43.6197, 12.8988)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE4B #4B69CC
analogous
#CC6E4B #CCAE4B #A9CC4B
triadic
#CCAE4B #4BCCAE #AE4BCC
tetradic
#CCAE4B #4BCC6E #4B69CC #CC4BA9
square
#CCAE4B #4BCC6E #4B69CC #CC4BA9
split-complementary
#CCAE4B #4BA9CC #6E4BCC
monochromatic
#7A6623 #AA8D30 #CCAE4B #DAC37B #E7D9AA

Accessibility & contrast

On white

2.16
#CCAE4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#CCAE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE4B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE4B#FFFFFF#000000##000000
##CCAE4B1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB40
Deuteranopia (green-blind)
#C7B450
Tritanopia (blue-blind)
#DCA199
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae4b;
/* rgb */ color: rgb(204, 174, 75);
/* oklch */ color: oklch(75.8% 0.122 92.3);
Tailwind
colors: {
  custom: {
    50: '#dfc581',
    500: '#ccae4b',
    950: '#000000',
  },
}
SCSS
$custom: #ccae4b;
$custom-light: #dfc581;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae4b",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 75
  },
  "hsl": {
    "h": 46.047,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75832,
    "c": 0.1224,
    "h": 92.3
  },
  "luminance": 0.43617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCAE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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