#CECC41#CECC41

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

Color values

HEX#CECC41
RGBrgb(206, 204, 65)
HSLhsl(59, 59%, 53%)
HSVhsv(59, 68%, 81%)
CMYKcmyk(0%, 1%, 68.4%, 19.2%)
CIE-LABlab(80.01, -15.64, 66.01)
CIE-LCHlch(80.01, 67.84, 103.33°)
OKLaboklab(82.23% -0.0494 0.1472)
OKLCHoklch(82.23% 0.155 108.6)
XYZxyz(48.0023, 56.6907, 13.4138)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC41 #4143CE
analogous
#CE8541 #CECC41 #89CE41
triadic
#CECC41 #41CECC #CC41CE
tetradic
#CECC41 #41CE85 #4143CE #CE4189
square
#CECC41 #41CE85 #4143CE #CE4189
split-complementary
#CECC41 #4189CE #8541CE
monochromatic
#76751E #A7A52B #CECC41 #DBD972 #E7E6A2

Accessibility & contrast

On white

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

On black

12.34
#CECC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC41
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC41#FFFFFF#000000##000000
##CECC411.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42B
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#DCBFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecc41;
/* rgb */ color: rgb(206, 204, 65);
/* oklch */ color: oklch(82.2% 0.155 108.6);
Tailwind
colors: {
  custom: {
    50: '#e0db7e',
    500: '#cecc41',
    950: '#000000',
  },
}
SCSS
$custom: #cecc41;
$custom-light: #e0db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc41",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 59.149,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82226,
    "c": 0.15531,
    "h": 108.6
  },
  "luminance": 0.56689
}

Semantic roles & 50–950 ramp

primary
#CECC41
secondary
#35367F
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECC41

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

Preview Lab → · Contrast checker → · Palette generator →

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