#CECC4F#CECC4F

#CECC4F is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.3% C 0.145 H 108.3°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CECC4F
RGBrgb(206, 204, 79)
HSLhsl(59, 56%, 56%)
HSVhsv(59, 62%, 81%)
CMYKcmyk(0%, 1%, 61.7%, 19.2%)
CIE-LABlab(80.11, -14.82, 60.56)
CIE-LCHlch(80.11, 62.35, 103.75°)
OKLaboklab(82.34% -0.0457 0.1379)
OKLCHoklch(82.34% 0.145 108.3)
XYZxyz(48.4593, 56.8735, 15.8206)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC4F #4F51CE
analogous
#CE8C4F #CECC4F #90CE4F
triadic
#CECC4F #4FCECC #CC4FCE
tetradic
#CECC4F #4FCE8C #4F51CE #CE4F90
square
#CECC4F #4FCE8C #4F51CE #CE4F90
split-complementary
#CECC4F #4F90CE #8C4FCE
monochromatic
#7F7E23 #AFAD31 #CECC4F #DBDA7F #E9E8AF

Accessibility & contrast

On white

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

On black

12.37
#CECC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC4F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC4F#FFFFFF#000000##000000
##CECC4F1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC440
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#DCC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecc4f;
/* rgb */ color: rgb(206, 204, 79);
/* oklch */ color: oklch(82.3% 0.145 108.3);
Tailwind
colors: {
  custom: {
    50: '#e0db86',
    500: '#cecc4f',
    950: '#000000',
  },
}
SCSS
$custom: #cecc4f;
$custom-light: #e0db86;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc4f",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 59.055,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82341,
    "c": 0.14527,
    "h": 108.3
  },
  "luminance": 0.56872
}

Semantic roles & 50–950 ramp

primary
#CECC4F
secondary
#3A3C87
accent
#4AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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