#CECC48#CECC48

#CECC48 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.3% C 0.151 H 108.5°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CECC48
RGBrgb(206, 204, 72)
HSLhsl(59, 58%, 55%)
HSVhsv(59, 65%, 81%)
CMYKcmyk(0%, 1%, 65%, 19.2%)
CIE-LABlab(80.05, -15.25, 63.36)
CIE-LCHlch(80.05, 65.17, 103.53°)
OKLaboklab(82.28% -0.0476 0.1428)
OKLCHoklch(82.28% 0.151 108.5)
XYZxyz(48.2178, 56.7769, 14.5487)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC48 #484ACE
analogous
#CE8948 #CECC48 #8DCE48
triadic
#CECC48 #48CECC #CC48CE
tetradic
#CECC48 #48CE89 #484ACE #CE488D
square
#CECC48 #48CE89 #484ACE #CE488D
split-complementary
#CECC48 #488DCE #8948CE
monochromatic
#7B7921 #ABA92E #CECC48 #DBD978 #E8E7A9

Accessibility & contrast

On white

1.70
#CECC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#CECC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC48
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC48#FFFFFF#000000##000000
##CECC481.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#DEC951
Tritanopia (blue-blind)
#DCBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecc48;
/* rgb */ color: rgb(206, 204, 72);
/* oklch */ color: oklch(82.3% 0.151 108.5);
Tailwind
colors: {
  custom: {
    50: '#e0db82',
    500: '#cecc48',
    950: '#000000',
  },
}
SCSS
$custom: #cecc48;
$custom-light: #e0db82;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc48",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 59.104,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8228,
    "c": 0.15052,
    "h": 108.5
  },
  "luminance": 0.56775
}

Semantic roles & 50–950 ramp

primary
#CECC48
secondary
#373983
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECC48

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

Preview Lab → · Contrast checker → · Palette generator →

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