#CEC366#CEC366

#CEC366 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.116 H 102.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CEC366
RGBrgb(206, 195, 102)
HSLhsl(54, 51%, 60%)
HSVhsv(54, 50%, 81%)
CMYKcmyk(0%, 5.3%, 50.5%, 19.2%)
CIE-LABlab(77.94, -8.50, 47.67)
CIE-LCHlch(77.94, 48.42, 100.11°)
OKLaboklab(80.69% -0.0252 0.1129)
OKLCHoklch(80.69% 0.116 102.6)
XYZxyz(47.3683, 53.1129, 20.3244)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC366 #6671CE
analogous
#CE8F66 #CEC366 #A5CE66
triadic
#CEC366 #66CEC3 #C366CE
tetradic
#CEC366 #66CE8F #6671CE #CE66A5
square
#CEC366 #66CE8F #6671CE #CE66A5
split-complementary
#CEC366 #66A5CE #8F66CE
monochromatic
#8D822D #BBAD3C #CEC366 #DDD594 #ECE7C3

Accessibility & contrast

On white

1.81
#CEC366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CEC366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC366
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC366#FFFFFF#000000##000000
##CEC3661.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#DBB8AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec366;
/* rgb */ color: rgb(206, 195, 102);
/* oklch */ color: oklch(80.7% 0.116 102.6);
Tailwind
colors: {
  custom: {
    50: '#dfd594',
    500: '#cec366',
    950: '#000000',
  },
}
SCSS
$custom: #cec366;
$custom-light: #dfd594;
$custom-dark: #000000;
JSON
{
  "hex": "#cec366",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 53.654,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8069,
    "c": 0.11564,
    "h": 102.6
  },
  "luminance": 0.53111
}

Semantic roles & 50–950 ramp

primary
#CEC366
secondary
#454D93
accent
#37BF27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC366

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

Preview Lab → · Contrast checker → · Palette generator →

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