#CEC665#CEC665

#CEC665 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.120 H 104.5°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CEC665
RGBrgb(206, 198, 101)
HSLhsl(55, 52%, 60%)
HSVhsv(55, 51%, 81%)
CMYKcmyk(0%, 3.9%, 51%, 19.2%)
CIE-LABlab(78.72, -10.13, 49.08)
CIE-LCHlch(78.72, 50.11, 101.66°)
OKLaboklab(81.31% -0.0299 0.1159)
OKLCHoklch(81.31% 0.12 104.5)
XYZxyz(47.9980, 54.4510, 20.2911)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC665 #656DCE
analogous
#CE9265 #CEC665 #A1CE65
triadic
#CEC665 #65CEC6 #C665CE
tetradic
#CEC665 #65CE92 #656DCE #CE65A1
square
#CEC665 #65CE92 #656DCE #CE65A1
split-complementary
#CEC665 #65A1CE #9265CE
monochromatic
#8C852D #BAB13B #CEC665 #DDD793 #ECE8C2

Accessibility & contrast

On white

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

On black

11.89
#CEC665 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC665
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC665#FFFFFF#000000##000000
##CEC6651.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05C
Deuteranopia (green-blind)
#D7C56A
Tritanopia (blue-blind)
#DBBBB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec665;
/* rgb */ color: rgb(206, 198, 101);
/* oklch */ color: oklch(81.3% 0.120 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd793',
    500: '#cec665',
    950: '#000000',
  },
}
SCSS
$custom: #cec665;
$custom-light: #dfd793;
$custom-dark: #000000;
JSON
{
  "hex": "#cec665",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 101
  },
  "hsl": {
    "h": 55.429,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81308,
    "c": 0.11967,
    "h": 104.5
  },
  "luminance": 0.5445
}

Semantic roles & 50–950 ramp

primary
#CEC665
secondary
#454B93
accent
#32BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC665

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

Preview Lab → · Contrast checker → · Palette generator →

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