#CECC3F#CECC3F

#CECC3F is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.2% C 0.157 H 108.6°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CECC3F
RGBrgb(206, 204, 63)
HSLhsl(59, 59%, 53%)
HSVhsv(59, 69%, 81%)
CMYKcmyk(0%, 1%, 69.4%, 19.2%)
CIE-LABlab(79.99, -15.74, 66.73)
CIE-LCHlch(79.99, 68.57, 103.27°)
OKLaboklab(82.21% -0.0499 0.1484)
OKLCHoklch(82.21% 0.157 108.6)
XYZxyz(47.9454, 56.6679, 13.1141)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC3F #3F41CE
analogous
#CE853F #CECC3F #88CE3F
triadic
#CECC3F #3FCECC #CC3FCE
tetradic
#CECC3F #3FCE85 #3F41CE #CE3F88
square
#CECC3F #3FCE85 #3F41CE #CE3F88
split-complementary
#CECC3F #3F88CE #853FCE
monochromatic
#75741E #A6A42A #CECC3F #DAD970 #E7E6A1

Accessibility & contrast

On white

1.70
#CECC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#CECC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC3F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC3F#FFFFFF#000000##000000
##CECC3F1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC428
Deuteranopia (green-blind)
#DFC949
Tritanopia (blue-blind)
#DDBFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecc3f;
/* rgb */ color: rgb(206, 204, 63);
/* oklch */ color: oklch(82.2% 0.157 108.6);
Tailwind
colors: {
  custom: {
    50: '#e0db7d',
    500: '#cecc3f',
    950: '#000000',
  },
}
SCSS
$custom: #cecc3f;
$custom-light: #e0db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc3f",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 59.161,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82211,
    "c": 0.15659,
    "h": 108.6
  },
  "luminance": 0.56666
}

Semantic roles & 50–950 ramp

primary
#CECC3F
secondary
#34357D
accent
#47E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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