#CECE7D#CECE7D

#CECE7D is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.103 H 108.4°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#CECE7D
RGBrgb(206, 206, 125)
HSLhsl(60, 45%, 65%)
HSVhsv(60, 39%, 81%)
CMYKcmyk(0%, 0%, 39.3%, 19.2%)
CIE-LABlab(81.15, -11.85, 40.26)
CIE-LCHlch(81.15, 41.97, 106.41°)
OKLaboklab(83.34% -0.0327 0.098)
OKLCHoklch(83.34% 0.103 108.4)
XYZxyz(51.2273, 58.7461, 28.0386)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECE7D #7D7DCE
analogous
#CEA67D #CECE7D #A6CE7D
triadic
#CECE7D #7DCECE #CE7DCE
tetradic
#CECE7D #7DCEA6 #7D7DCE #CE7DA6
square
#CECE7D #7DCEA6 #7D7DCE #CE7DA6
split-complementary
#CECE7D #7DA6CE #A67DCE
monochromatic
#979739 #BDBD51 #CECE7D #DFDFA9 #F0F0D6

Accessibility & contrast

On white

1.65
#CECE7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#CECE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECE7D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECE7D#FFFFFF#000000##000000
##CECE7D1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC877
Deuteranopia (green-blind)
#DBCB81
Tritanopia (blue-blind)
#D9C5BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cece7d;
/* rgb */ color: rgb(206, 206, 125);
/* oklch */ color: oklch(83.3% 0.103 108.4);
Tailwind
colors: {
  custom: {
    50: '#dedca4',
    500: '#cece7d',
    950: '#000000',
  },
}
SCSS
$custom: #cece7d;
$custom-light: #dedca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cece7d",
  "rgb": {
    "r": 206,
    "g": 206,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83337,
    "c": 0.10326,
    "h": 108.4
  },
  "luminance": 0.58745
}

Semantic roles & 50–950 ramp

primary
#CECE7D
secondary
#52529D
accent
#2DB82D
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CECE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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