#CECD7F#CECD7F

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

Color values

HEX#CECD7F
RGBrgb(206, 205, 127)
HSLhsl(59, 45%, 65%)
HSVhsv(59, 38%, 81%)
CMYKcmyk(0%, 0.5%, 38.3%, 19.2%)
CIE-LABlab(80.92, -11.13, 38.95)
CIE-LCHlch(80.92, 40.51, 105.94°)
OKLaboklab(83.16% -0.0304 0.0951)
OKLCHoklch(83.16% 0.1 107.8)
XYZxyz(51.1164, 58.3178, 28.6383)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD7F #7F80CE
analogous
#CEA67F #CECD7F #A7CE7F
triadic
#CECD7F #7FCECD #CD7FCE
tetradic
#CECD7F #7FCEA6 #7F80CE #CE7FA7
square
#CECD7F #7FCEA6 #7F80CE #CE7FA7
split-complementary
#CECD7F #7FA7CE #A67FCE
monochromatic
#98973A #BDBC53 #CECD7F #DFDEAB #F0F0D8

Accessibility & contrast

On white

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

On black

12.66
#CECD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD7F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD7F#FFFFFF#000000##000000
##CECD7F1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cecd7f;
/* rgb */ color: rgb(206, 205, 127);
/* oklch */ color: oklch(83.2% 0.100 107.8);
Tailwind
colors: {
  custom: {
    50: '#dedca5',
    500: '#cecd7f',
    950: '#000000',
  },
}
SCSS
$custom: #cecd7f;
$custom-light: #dedca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd7f",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 127
  },
  "hsl": {
    "h": 59.241,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83158,
    "c": 0.09983,
    "h": 107.8
  },
  "luminance": 0.58317
}

Semantic roles & 50–950 ramp

primary
#CECD7F
secondary
#53549E
accent
#2FB82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CECD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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