#CCAE4E#CCAE4E

#CCAE4E is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.9% C 0.120 H 91.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CCAE4E
RGBrgb(204, 174, 78)
HSLhsl(46, 55%, 55%)
HSVhsv(46, 62%, 80%)
CMYKcmyk(0%, 14.7%, 61.8%, 20%)
CIE-LABlab(72.00, -0.26, 52.12)
CIE-LCHlch(72.00, 52.12, 90.28°)
OKLaboklab(75.86% -0.0041 0.1199)
OKLCHoklch(75.86% 0.12 91.9)
XYZxyz(41.4150, 43.6617, 13.4524)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE4E #4E6CCC
analogous
#CC6F4E #CCAE4E #ABCC4E
triadic
#CCAE4E #4ECCAE #AE4ECC
tetradic
#CCAE4E #4ECC6F #4E6CCC #CC4EAB
square
#CCAE4E #4ECC6F #4E6CCC #CC4EAB
split-complementary
#CCAE4E #4EABCC #6F4ECC
monochromatic
#7C6724 #AB8E31 #CCAE4E #DAC47E #E7D9AD

Accessibility & contrast

On white

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

On black

9.73
#CCAE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAE4E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAE4E#FFFFFF#000000##000000
##CCAE4E1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB44
Deuteranopia (green-blind)
#C7B452
Tritanopia (blue-blind)
#DBA199
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae4e;
/* rgb */ color: rgb(204, 174, 78);
/* oklch */ color: oklch(75.9% 0.120 91.9);
Tailwind
colors: {
  custom: {
    50: '#dfc583',
    500: '#ccae4e',
    950: '#000000',
  },
}
SCSS
$custom: #ccae4e;
$custom-light: #dfc583;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae4e",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 78
  },
  "hsl": {
    "h": 45.714,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75863,
    "c": 0.11994,
    "h": 91.9
  },
  "luminance": 0.4366
}

Semantic roles & 50–950 ramp

primary
#CCAE4E
secondary
#A1ADD5
accent
#6DDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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