#CCAE3E#CCAE3E

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

Color values

HEX#CCAE3E
RGBrgb(204, 174, 62)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 70%, 80%)
CMYKcmyk(0%, 14.7%, 69.6%, 20%)
CIE-LABlab(71.87, -1.22, 58.94)
CIE-LCHlch(71.87, 58.95, 91.18°)
OKLaboklab(75.71% -0.0088 0.1319)
OKLCHoklch(75.71% 0.132 93.8)
XYZxyz(40.9095, 43.4595, 10.7902)
Luminance0.4346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAE3E #3E5CCC
analogous
#CC673E #CCAE3E #A3CC3E
triadic
#CCAE3E #3ECCAE #AE3ECC
tetradic
#CCAE3E #3ECC67 #3E5CCC #CC3EA3
square
#CCAE3E #3ECC67 #3E5CCC #CC3EA3
split-complementary
#CCAE3E #3EA3CC #673ECC
monochromatic
#72601E #A2892B #CCAE3E #D9C26E #E6D79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAE3E#FFFFFF#000000##000000
##CCAE3E1.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)
#C0AB2F
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccae3e;
/* rgb */ color: rgb(204, 174, 62);
/* oklch */ color: oklch(75.7% 0.132 93.8);
Tailwind
colors: {
  custom: {
    50: '#dfc57a',
    500: '#ccae3e',
    950: '#000000',
  },
}
SCSS
$custom: #ccae3e;
$custom-light: #dfc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccae3e",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 62
  },
  "hsl": {
    "h": 47.324,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75712,
    "c": 0.13214,
    "h": 93.8
  },
  "luminance": 0.43457
}

Semantic roles & 50–950 ramp

primary
#CCAE3E
secondary
#94A1D2
accent
#67E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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