#CECD4F#CECD4F

#CECD4F is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.146 H 108.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CECD4F
RGBrgb(206, 205, 79)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 62%, 81%)
CMYKcmyk(0%, 0.5%, 61.7%, 19.2%)
CIE-LABlab(80.38, -15.32, 60.85)
CIE-LCHlch(80.38, 62.75, 104.13°)
OKLaboklab(82.55% -0.0471 0.1385)
OKLCHoklch(82.55% 0.146 108.8)
XYZxyz(48.6977, 57.3504, 15.9001)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD4F #4F50CE
analogous
#CE8E4F #CECD4F #8FCE4F
triadic
#CECD4F #4FCECD #CD4FCE
tetradic
#CECD4F #4FCE8E #4F50CE #CE4F8F
square
#CECD4F #4FCE8E #4F50CE #CE4F8F
split-complementary
#CECD4F #4F8FCE #8E4FCE
monochromatic
#7F7E23 #AFAE31 #CECD4F #DBDB7F #E9E8AF

Accessibility & contrast

On white

1.68
#CECD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CECD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD4F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD4F#FFFFFF#000000##000000
##CECD4F1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53F
Deuteranopia (green-blind)
#DFC957
Tritanopia (blue-blind)
#DCC1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecd4f;
/* rgb */ color: rgb(206, 205, 79);
/* oklch */ color: oklch(82.6% 0.146 108.8);
Tailwind
colors: {
  custom: {
    50: '#e0dc86',
    500: '#cecd4f',
    950: '#000000',
  },
}
SCSS
$custom: #cecd4f;
$custom-light: #e0dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd4f",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 59.528,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82554,
    "c": 0.14629,
    "h": 108.8
  },
  "luminance": 0.57349
}

Semantic roles & 50–950 ramp

primary
#CECD4F
secondary
#3A3B87
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CECD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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