#CCAE4F#CCAE4F

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

Color values

HEX#CCAE4F
RGBrgb(204, 174, 79)
HSLhsl(46, 55%, 55%)
HSVhsv(46, 61%, 80%)
CMYKcmyk(0%, 14.7%, 61.3%, 20%)
CIE-LABlab(72.01, -0.19, 51.67)
CIE-LCHlch(72.01, 51.67, 90.21°)
OKLaboklab(75.87% -0.0037 0.119)
OKLCHoklch(75.87% 0.119 91.8)
XYZxyz(41.4511, 43.6762, 13.6426)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE4F #4F6DCC
analogous
#CC6F4F #CCAE4F #ABCC4F
triadic
#CCAE4F #4FCCAE #AE4FCC
tetradic
#CCAE4F #4FCC6F #4F6DCC #CC4FAB
square
#CCAE4F #4FCC6F #4F6DCC #CC4FAB
split-complementary
#CCAE4F #4FABCC #6F4FCC
monochromatic
#7D6724 #AC8F32 #CCAE4F #DAC47E #E7DAAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAE4F#FFFFFF#000000##000000
##CCAE4F1.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)
#BFAB45
Deuteranopia (green-blind)
#C7B453
Tritanopia (blue-blind)
#DBA199
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae4f;
/* rgb */ color: rgb(204, 174, 79);
/* oklch */ color: oklch(75.9% 0.119 91.8);
Tailwind
colors: {
  custom: {
    50: '#dfc584',
    500: '#ccae4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccae4f;
$custom-light: #dfc584;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae4f",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 79
  },
  "hsl": {
    "h": 45.6,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75874,
    "c": 0.1191,
    "h": 91.8
  },
  "luminance": 0.43674
}

Semantic roles & 50–950 ramp

primary
#CCAE4F
secondary
#A1AED5
accent
#6DDE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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