#CECC3B#CECC3B

#CECC3B is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.159 H 108.6°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CECC3B
RGBrgb(206, 204, 59)
HSLhsl(59, 60%, 52%)
HSVhsv(59, 71%, 81%)
CMYKcmyk(0%, 1%, 71.4%, 19.2%)
CIE-LABlab(79.97, -15.93, 68.14)
CIE-LCHlch(79.97, 69.98, 103.16°)
OKLaboklab(82.18% -0.0508 0.1507)
OKLCHoklch(82.18% 0.159 108.6)
XYZxyz(47.8376, 56.6248, 12.5466)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC3B #3B3DCE
analogous
#CE833B #CECC3B #86CE3B
triadic
#CECC3B #3BCECC #CC3BCE
tetradic
#CECC3B #3BCE83 #3B3DCE #CE3B86
square
#CECC3B #3BCE83 #3B3DCE #CE3B86
split-complementary
#CECC3B #3B86CE #833BCE
monochromatic
#72711D #A3A129 #CECC3B #DAD96C #E6E59D

Accessibility & contrast

On white

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

On black

12.32
#CECC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC3B
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC3B#FFFFFF#000000##000000
##CECC3B1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC420
Deuteranopia (green-blind)
#DFC946
Tritanopia (blue-blind)
#DDBFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecc3b;
/* rgb */ color: rgb(206, 204, 59);
/* oklch */ color: oklch(82.2% 0.159 108.6);
Tailwind
colors: {
  custom: {
    50: '#e1db7b',
    500: '#cecc3b',
    950: '#000000',
  },
}
SCSS
$custom: #cecc3b;
$custom-light: #e1db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc3b",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 59.184,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82184,
    "c": 0.15904,
    "h": 108.6
  },
  "luminance": 0.56623
}

Semantic roles & 50–950 ramp

primary
#CECC3B
secondary
#32337B
accent
#47E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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