#CECD7C#CECD7C

#CECD7C is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.103 H 107.8°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#CECD7C
RGBrgb(206, 205, 124)
HSLhsl(59, 46%, 65%)
HSVhsv(59, 40%, 81%)
CMYKcmyk(0%, 0.5%, 39.8%, 19.2%)
CIE-LABlab(80.87, -11.46, 40.41)
CIE-LCHlch(80.87, 42.00, 105.83°)
OKLaboklab(83.11% -0.0316 0.0982)
OKLCHoklch(83.11% 0.103 107.8)
XYZxyz(50.9238, 58.2408, 27.6239)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD7C #7C7DCE
analogous
#CEA47C #CECD7C #A6CE7C
triadic
#CECD7C #7CCECD #CD7CCE
tetradic
#CECD7C #7CCEA4 #7C7DCE #CE7CA6
square
#CECD7C #7CCEA4 #7C7DCE #CE7CA6
split-complementary
#CECD7C #7CA6CE #A47CCE
monochromatic
#979639 #BDBC4F #CECD7C #DFDEA9 #EFEFD5

Accessibility & contrast

On white

1.66
#CECD7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#CECD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD7C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD7C#FFFFFF#000000##000000
##CECD7C1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C776
Deuteranopia (green-blind)
#DBCA80
Tritanopia (blue-blind)
#D9C4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecd7c;
/* rgb */ color: rgb(206, 205, 124);
/* oklch */ color: oklch(83.1% 0.103 107.8);
Tailwind
colors: {
  custom: {
    50: '#dedca3',
    500: '#cecd7c',
    950: '#000000',
  },
}
SCSS
$custom: #cecd7c;
$custom-light: #dedca3;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd7c",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 124
  },
  "hsl": {
    "h": 59.268,
    "s": 45.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8311,
    "c": 0.1032,
    "h": 107.8
  },
  "luminance": 0.5824
}

Semantic roles & 50–950 ramp

primary
#CECD7C
secondary
#51529D
accent
#2EB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CECD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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