#CCAE3B#CCAE3B

#CCAE3B is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.7% C 0.134 H 94.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CCAE3B
RGBrgb(204, 174, 59)
HSLhsl(48, 59%, 52%)
HSVhsv(48, 71%, 80%)
CMYKcmyk(0%, 14.7%, 71.1%, 20%)
CIE-LABlab(71.84, -1.37, 60.12)
CIE-LCHlch(71.84, 60.14, 91.31°)
OKLaboklab(75.69% -0.0095 0.1338)
OKLCHoklch(75.69% 0.134 94.1)
XYZxyz(40.8294, 43.4275, 10.3686)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE3B #3B59CC
analogous
#CC663B #CCAE3B #A2CC3B
triadic
#CCAE3B #3BCCAE #AE3BCC
tetradic
#CCAE3B #3BCC66 #3B59CC #CC3BA2
square
#CCAE3B #3BCC66 #3B59CC #CC3BA2
split-complementary
#CCAE3B #3BA2CC #663BCC
monochromatic
#705E1D #A0882A #CCAE3B #D9C26C #E5D69C

Accessibility & contrast

On white

2.17
#CCAE3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#CCAE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE3B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE3B#FFFFFF#000000##000000
##CCAE3B1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2A
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae3b;
/* rgb */ color: rgb(204, 174, 59);
/* oklch */ color: oklch(75.7% 0.134 94.1);
Tailwind
colors: {
  custom: {
    50: '#dfc578',
    500: '#ccae3b',
    950: '#000000',
  },
}
SCSS
$custom: #ccae3b;
$custom-light: #dfc578;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae3b",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 47.586,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75688,
    "c": 0.13416,
    "h": 94.1
  },
  "luminance": 0.43425
}

Semantic roles & 50–950 ramp

primary
#CCAE3B
secondary
#929FD1
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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