#CEC663#CEC663

#CEC663 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.122 H 104.6°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CEC663
RGBrgb(206, 198, 99)
HSLhsl(56, 52%, 60%)
HSVhsv(56, 52%, 81%)
CMYKcmyk(0%, 3.9%, 51.9%, 19.2%)
CIE-LABlab(78.70, -10.30, 50.01)
CIE-LCHlch(78.70, 51.05, 101.64°)
OKLaboklab(81.28% -0.0306 0.1177)
OKLCHoklch(81.28% 0.122 104.6)
XYZxyz(47.9012, 54.4123, 19.7813)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC663 #636BCE
analogous
#CE9163 #CEC663 #A1CE63
triadic
#CEC663 #63CEC6 #C663CE
tetradic
#CEC663 #63CE91 #636BCE #CE63A1
square
#CEC663 #63CE91 #636BCE #CE63A1
split-complementary
#CEC663 #63A1CE #9163CE
monochromatic
#8B842C #BAB03A #CEC663 #DDD792 #EBE8C0

Accessibility & contrast

On white

1.77
#CEC663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CEC663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC663
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC663#FFFFFF#000000##000000
##CEC6631.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C05A
Deuteranopia (green-blind)
#D8C568
Tritanopia (blue-blind)
#DBBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec663;
/* rgb */ color: rgb(206, 198, 99);
/* oklch */ color: oklch(81.3% 0.122 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd792',
    500: '#cec663',
    950: '#000000',
  },
}
SCSS
$custom: #cec663;
$custom-light: #dfd792;
$custom-dark: #000000;
JSON
{
  "hex": "#cec663",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 99
  },
  "hsl": {
    "h": 55.514,
    "s": 52.195,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81283,
    "c": 0.12162,
    "h": 104.6
  },
  "luminance": 0.54411
}

Semantic roles & 50–950 ramp

primary
#CEC663
secondary
#444992
accent
#57DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC663

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

Preview Lab → · Contrast checker → · Palette generator →

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