#CECD7D#CECD7D

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

Color values

HEX#CECD7D
RGBrgb(206, 205, 125)
HSLhsl(59, 45%, 65%)
HSVhsv(59, 39%, 81%)
CMYKcmyk(0%, 0.5%, 39.3%, 19.2%)
CIE-LABlab(80.89, -11.35, 39.93)
CIE-LCHlch(80.89, 41.51, 105.87°)
OKLaboklab(83.13% -0.0312 0.0972)
OKLCHoklch(83.13% 0.102 107.8)
XYZxyz(50.9873, 58.2662, 27.9586)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD7D #7D7ECE
analogous
#CEA47D #CECD7D #A7CE7D
triadic
#CECD7D #7DCECD #CD7DCE
tetradic
#CECD7D #7DCEA4 #7D7ECE #CE7DA7
square
#CECD7D #7DCEA4 #7D7ECE #CE7DA7
split-complementary
#CECD7D #7DA7CE #A47DCE
monochromatic
#979639 #BDBC51 #CECD7D #DFDEA9 #F0EFD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECD7D#FFFFFF#000000##000000
##CECD7D1.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)
#D9C777
Deuteranopia (green-blind)
#DBCA80
Tritanopia (blue-blind)
#D9C4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecd7d;
/* rgb */ color: rgb(206, 205, 125);
/* oklch */ color: oklch(83.1% 0.102 107.8);
Tailwind
colors: {
  custom: {
    50: '#dedca4',
    500: '#cecd7d',
    950: '#000000',
  },
}
SCSS
$custom: #cecd7d;
$custom-light: #dedca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd7d",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 59.259,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83126,
    "c": 0.10209,
    "h": 107.8
  },
  "luminance": 0.58265
}

Semantic roles & 50–950 ramp

primary
#CECD7D
secondary
#52539D
accent
#2FB82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CECD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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