#CCAE3F#CCAE3F

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

Color values

HEX#CCAE3F
RGBrgb(204, 174, 63)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 69%, 80%)
CMYKcmyk(0%, 14.7%, 69.1%, 20%)
CIE-LABlab(71.87, -1.17, 58.54)
CIE-LCHlch(71.87, 58.55, 91.14°)
OKLaboklab(75.72% -0.0085 0.1312)
OKLCHoklch(75.72% 0.131 93.7)
XYZxyz(40.9372, 43.4706, 10.9361)
Luminance0.4347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE3F #3F5DCC
analogous
#CC673F #CCAE3F #A4CC3F
triadic
#CCAE3F #3FCCAE #AE3FCC
tetradic
#CCAE3F #3FCC67 #3F5DCC #CC3FA4
square
#CCAE3F #3FCC67 #3F5DCC #CC3FA4
split-complementary
#CCAE3F #3FA4CC #673FCC
monochromatic
#72601E #A3892B #CCAE3F #D9C26F #E6D7A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAE3F#FFFFFF#000000##000000
##CCAE3F1.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)
#C0AB30
Deuteranopia (green-blind)
#C8B445
Tritanopia (blue-blind)
#DCA197
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae3f;
/* rgb */ color: rgb(204, 174, 63);
/* oklch */ color: oklch(75.7% 0.131 93.7);
Tailwind
colors: {
  custom: {
    50: '#dfc57a',
    500: '#ccae3f',
    950: '#000000',
  },
}
SCSS
$custom: #ccae3f;
$custom-light: #dfc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae3f",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 47.234,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7572,
    "c": 0.13144,
    "h": 93.7
  },
  "luminance": 0.43468
}

Semantic roles & 50–950 ramp

primary
#CCAE3F
secondary
#95A2D2
accent
#67E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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