#CEC466#CEC466

#CEC466 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.117 H 103.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CEC466
RGBrgb(206, 196, 102)
HSLhsl(54, 51%, 60%)
HSVhsv(54, 50%, 81%)
CMYKcmyk(0%, 4.9%, 50.5%, 19.2%)
CIE-LABlab(78.21, -9.02, 47.98)
CIE-LCHlch(78.21, 48.82, 100.64°)
OKLaboklab(80.9% -0.0267 0.1136)
OKLCHoklch(80.9% 0.117 103.2)
XYZxyz(47.5931, 53.5625, 20.3994)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC466 #6670CE
analogous
#CE9066 #CEC466 #A4CE66
triadic
#CEC466 #66CEC4 #C466CE
tetradic
#CEC466 #66CE90 #6670CE #CE66A4
square
#CEC466 #66CE90 #6670CE #CE66A4
split-complementary
#CEC466 #66A4CE #9066CE
monochromatic
#8D832D #BBAF3C #CEC466 #DDD694 #ECE8C3

Accessibility & contrast

On white

1.79
#CEC466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CEC466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC466
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC466#FFFFFF#000000##000000
##CEC4661.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec466;
/* rgb */ color: rgb(206, 196, 102);
/* oklch */ color: oklch(80.9% 0.117 103.2);
Tailwind
colors: {
  custom: {
    50: '#dfd594',
    500: '#cec466',
    950: '#000000',
  },
}
SCSS
$custom: #cec466;
$custom-light: #dfd594;
$custom-dark: #000000;
JSON
{
  "hex": "#cec466",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 102
  },
  "hsl": {
    "h": 54.231,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.809,
    "c": 0.11665,
    "h": 103.2
  },
  "luminance": 0.53561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC466

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

Preview Lab → · Contrast checker → · Palette generator →

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