#CEC66D#CEC66D

#CEC66D is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.112 H 104.0°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CEC66D
RGBrgb(206, 198, 109)
HSLhsl(55, 50%, 62%)
HSVhsv(55, 47%, 81%)
CMYKcmyk(0%, 3.9%, 47.1%, 19.2%)
CIE-LABlab(78.82, -9.40, 45.32)
CIE-LCHlch(78.82, 46.28, 101.72°)
OKLaboklab(81.41% -0.0271 0.1083)
OKLCHoklch(81.41% 0.112 104)
XYZxyz(48.4092, 54.6155, 22.4568)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC66D #6D75CE
analogous
#CE966D #CEC66D #A6CE6D
triadic
#CEC66D #6DCEC6 #C66DCE
tetradic
#CEC66D #6DCE96 #6D75CE #CE6DA6
square
#CEC66D #6DCE96 #6D75CE #CE6DA6
split-complementary
#CEC66D #6DA6CE #966DCE
monochromatic
#908830 #BEB440 #CEC66D #DDD89B #EDEAC9

Accessibility & contrast

On white

1.76
#CEC66D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CEC66D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC66D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC66D#FFFFFF#000000##000000
##CEC66D1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C065
Deuteranopia (green-blind)
#D7C571
Tritanopia (blue-blind)
#DABBB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec66d;
/* rgb */ color: rgb(206, 198, 109);
/* oklch */ color: oklch(81.4% 0.112 104.0);
Tailwind
colors: {
  custom: {
    50: '#dfd799',
    500: '#cec66d',
    950: '#000000',
  },
}
SCSS
$custom: #cec66d;
$custom-light: #dfd799;
$custom-dark: #000000;
JSON
{
  "hex": "#cec66d",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 109
  },
  "hsl": {
    "h": 55.052,
    "s": 49.744,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81414,
    "c": 0.1116,
    "h": 104
  },
  "luminance": 0.54614
}

Semantic roles & 50–950 ramp

primary
#CEC66D
secondary
#494F96
accent
#35BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC66D

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

Preview Lab → · Contrast checker → · Palette generator →

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