#CCAE47#CCAE47

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

Color values

HEX#CCAE47
RGBrgb(204, 174, 71)
HSLhsl(46, 57%, 54%)
HSVhsv(46, 65%, 80%)
CMYKcmyk(0%, 14.7%, 65.2%, 20%)
CIE-LABlab(71.94, -0.71, 55.20)
CIE-LCHlch(71.94, 55.20, 90.73°)
OKLaboklab(75.79% -0.0062 0.1254)
OKLCHoklch(75.79% 0.126 92.8)
XYZxyz(41.1772, 43.5666, 12.2003)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE47 #4765CC
analogous
#CC6C47 #CCAE47 #A8CC47
triadic
#CCAE47 #47CCAE #AE47CC
tetradic
#CCAE47 #47CC6C #4765CC #CC47A8
square
#CCAE47 #47CC6C #4765CC #CC47A8
split-complementary
#CCAE47 #47A8CC #6C47CC
monochromatic
#776421 #A78C2E #CCAE47 #D9C377 #E7D8A7

Accessibility & contrast

On white

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

On black

9.71
#CCAE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE47
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE47#FFFFFF#000000##000000
##CCAE471.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB3B
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#DCA198
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae47;
/* rgb */ color: rgb(204, 174, 71);
/* oklch */ color: oklch(75.8% 0.126 92.8);
Tailwind
colors: {
  custom: {
    50: '#dfc57f',
    500: '#ccae47',
    950: '#000000',
  },
}
SCSS
$custom: #ccae47;
$custom-light: #dfc57f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae47",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 71
  },
  "hsl": {
    "h": 46.466,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75792,
    "c": 0.12556,
    "h": 92.8
  },
  "luminance": 0.43564
}

Semantic roles & 50–950 ramp

primary
#CCAE47
secondary
#9BA8D4
accent
#6AE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAE47

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

Preview Lab → · Contrast checker → · Palette generator →

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