#CCAE3A#CCAE3A

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

Color values

HEX#CCAE3A
RGBrgb(204, 174, 58)
HSLhsl(48, 59%, 51%)
HSVhsv(48, 72%, 80%)
CMYKcmyk(0%, 14.7%, 71.6%, 20%)
CIE-LABlab(71.84, -1.42, 60.51)
CIE-LCHlch(71.84, 60.53, 91.35°)
OKLaboklab(75.68% -0.0098 0.1344)
OKLCHoklch(75.68% 0.135 94.2)
XYZxyz(40.8037, 43.4172, 10.2333)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE3A #3A58CC
analogous
#CC653A #CCAE3A #A1CC3A
triadic
#CCAE3A #3ACCAE #AE3ACC
tetradic
#CCAE3A #3ACC65 #3A58CC #CC3AA1
square
#CCAE3A #3ACC65 #3A58CC #CC3AA1
split-complementary
#CCAE3A #3AA1CC #653ACC
monochromatic
#6F5E1D #A08729 #CCAE3A #D9C26B #E5D69B

Accessibility & contrast

On white

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

On black

9.68
#CCAE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE3A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE3A#FFFFFF#000000##000000
##CCAE3A1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccae3a;
/* rgb */ color: rgb(204, 174, 58);
/* oklch */ color: oklch(75.7% 0.135 94.2);
Tailwind
colors: {
  custom: {
    50: '#dfc577',
    500: '#ccae3a',
    950: '#000000',
  },
}
SCSS
$custom: #ccae3a;
$custom-light: #dfc577;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae3a",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 47.671,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7568,
    "c": 0.13481,
    "h": 94.2
  },
  "luminance": 0.43415
}

Semantic roles & 50–950 ramp

primary
#CCAE3A
secondary
#919ED1
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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