#CECD3F#CECD3F

#CECD3F is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.4% C 0.158 H 109.0°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CECD3F
RGBrgb(206, 205, 63)
HSLhsl(60, 59%, 53%)
HSVhsv(60, 69%, 81%)
CMYKcmyk(0%, 0.5%, 69.4%, 19.2%)
CIE-LABlab(80.26, -16.24, 67.00)
CIE-LCHlch(80.26, 68.94, 103.62°)
OKLaboklab(82.43% -0.0513 0.149)
OKLCHoklch(82.43% 0.158 109)
XYZxyz(48.1838, 57.1448, 13.1936)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD3F #3F40CE
analogous
#CE853F #CECD3F #88CE3F
triadic
#CECD3F #3FCECD #CD3FCE
tetradic
#CECD3F #3FCE85 #3F40CE #CE3F88
square
#CECD3F #3FCE85 #3F40CE #CE3F88
split-complementary
#CECD3F #3F88CE #853FCE
monochromatic
#75741E #A6A52A #CECD3F #DADA70 #E7E6A1

Accessibility & contrast

On white

1.69
#CECD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#CECD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD3F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD3F#FFFFFF#000000##000000
##CECD3F1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC527
Deuteranopia (green-blind)
#DFC949
Tritanopia (blue-blind)
#DCC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecd3f;
/* rgb */ color: rgb(206, 205, 63);
/* oklch */ color: oklch(82.4% 0.158 109.0);
Tailwind
colors: {
  custom: {
    50: '#e0dc7d',
    500: '#cecd3f',
    950: '#000000',
  },
}
SCSS
$custom: #cecd3f;
$custom-light: #e0dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd3f",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 59.58,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82426,
    "c": 0.15757,
    "h": 109
  },
  "luminance": 0.57143
}

Semantic roles & 50–950 ramp

primary
#CECD3F
secondary
#34347D
accent
#46E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CECD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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