#CEC697#CEC697

#CEC697 is a very light, moderate yellow. Relative luminance 0.557; OKLCH L 82.1% C 0.063 H 99.5°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CEC697
RGBrgb(206, 198, 151)
HSLhsl(51, 36%, 70%)
HSVhsv(51, 27%, 81%)
CMYKcmyk(0%, 3.9%, 26.7%, 19.2%)
CIE-LABlab(79.47, -4.58, 24.62)
CIE-LCHlch(79.47, 25.04, 100.54°)
OKLaboklab(82.14% -0.0104 0.0622)
OKLCHoklch(82.14% 0.063 99.5)
XYZxyz(51.2338, 55.7454, 37.3332)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC697 #979FCE
analogous
#CEAB97 #CEC697 #BACE97
triadic
#CEC697 #97CEC6 #C697CE
tetradic
#CEC697 #97CEAB #979FCE #CE97BA
square
#CEC697 #97CEAB #979FCE #CE97BA
split-complementary
#CEC697 #97BACE #AB97CE
monochromatic
#9F934B #BAAF6D #CEC697 #E2DDC1 #F5F4EA

Accessibility & contrast

On white

1.73
#CEC697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CEC697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC697
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC697#FFFFFF#000000##000000
##CEC6971.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC394
Deuteranopia (green-blind)
#D2C699
Tritanopia (blue-blind)
#D7BFB9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cec697;
/* rgb */ color: rgb(206, 198, 151);
/* oklch */ color: oklch(82.1% 0.063 99.5);
Tailwind
colors: {
  custom: {
    50: '#ddd7b6',
    500: '#cec697',
    950: '#000000',
  },
}
SCSS
$custom: #cec697;
$custom-light: #ddd7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cec697",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 151
  },
  "hsl": {
    "h": 51.273,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.82141,
    "c": 0.06306,
    "h": 99.5
  },
  "luminance": 0.55744
}

Semantic roles & 50–950 ramp

primary
#CEC697
secondary
#666FA3
accent
#48AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CEC697

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

Preview Lab → · Contrast checker → · Palette generator →

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