#CECD74#CECD74

#CECD74 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.112 H 108.0°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#CECD74
RGBrgb(206, 205, 116)
HSLhsl(59, 48%, 63%)
HSVhsv(59, 44%, 81%)
CMYKcmyk(0%, 0.5%, 43.7%, 19.2%)
CIE-LABlab(80.76, -12.29, 44.26)
CIE-LCHlch(80.76, 45.93, 105.51°)
OKLaboklab(82.99% -0.0347 0.1064)
OKLCHoklch(82.99% 0.112 108)
XYZxyz(50.4382, 58.0466, 25.0667)
Luminance0.5805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD74 #7475CE
analogous
#CEA074 #CECD74 #A2CE74
triadic
#CECD74 #74CECD #CD74CE
tetradic
#CECD74 #74CEA0 #7475CE #CE74A2
square
#CECD74 #74CEA0 #7475CE #CE74A2
split-complementary
#CECD74 #74A2CE #A074CE
monochromatic
#949334 #BEBD47 #CECD74 #DEDDA1 #EEEECE

Accessibility & contrast

On white

1.67
#CECD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#CECD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD74
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD74#FFFFFF#000000##000000
##CECD741.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC76D
Deuteranopia (green-blind)
#DCCA78
Tritanopia (blue-blind)
#D9C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecd74;
/* rgb */ color: rgb(206, 205, 116);
/* oklch */ color: oklch(83.0% 0.112 108.0);
Tailwind
colors: {
  custom: {
    50: '#dedc9e',
    500: '#cecd74',
    950: '#000000',
  },
}
SCSS
$custom: #cecd74;
$custom-light: #dedc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd74",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 59.333,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82989,
    "c": 0.11192,
    "h": 108
  },
  "luminance": 0.58045
}

Semantic roles & 50–950 ramp

primary
#CECD74
secondary
#4D4D9A
accent
#2CBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CECD74

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

Preview Lab → · Contrast checker → · Palette generator →

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