#CECD81#CECD81

#CECD81 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.098 H 107.7°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CECD81
RGBrgb(206, 205, 129)
HSLhsl(59, 44%, 66%)
HSVhsv(59, 37%, 81%)
CMYKcmyk(0%, 0.5%, 37.4%, 19.2%)
CIE-LABlab(80.94, -10.91, 37.98)
CIE-LCHlch(80.94, 39.51, 106.02°)
OKLaboklab(83.19% -0.0296 0.093)
OKLCHoklch(83.19% 0.098 107.7)
XYZxyz(51.2480, 58.3705, 29.3316)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD81 #8182CE
analogous
#CEA681 #CECD81 #A8CE81
triadic
#CECD81 #81CECD #CD81CE
tetradic
#CECD81 #81CEA6 #8182CE #CE81A8
square
#CECD81 #81CEA6 #8182CE #CE81A8
split-complementary
#CECD81 #81A8CE #A681CE
monochromatic
#99983C #BDBC55 #CECD81 #DFDEAD #F0F0D9

Accessibility & contrast

On white

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

On black

12.67
#CECD81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD81
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD81#FFFFFF#000000##000000
##CECD811.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C77B
Deuteranopia (green-blind)
#DACA84
Tritanopia (blue-blind)
#D8C4BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecd81;
/* rgb */ color: rgb(206, 205, 129);
/* oklch */ color: oklch(83.2% 0.098 107.7);
Tailwind
colors: {
  custom: {
    50: '#dedca6',
    500: '#cecd81',
    950: '#000000',
  },
}
SCSS
$custom: #cecd81;
$custom-light: #dedca6;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd81",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 129
  },
  "hsl": {
    "h": 59.221,
    "s": 44,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8319,
    "c": 0.09756,
    "h": 107.7
  },
  "luminance": 0.58369
}

Semantic roles & 50–950 ramp

primary
#CECD81
secondary
#54559F
accent
#30B72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CECD81

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

Preview Lab → · Contrast checker → · Palette generator →

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