#CECC46#CECC46

#CECC46 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.3% C 0.152 H 108.5°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CECC46
RGBrgb(206, 204, 70)
HSLhsl(59, 58%, 54%)
HSVhsv(59, 66%, 81%)
CMYKcmyk(0%, 1%, 66%, 19.2%)
CIE-LABlab(80.04, -15.37, 64.14)
CIE-LCHlch(80.04, 65.95, 103.47°)
OKLaboklab(82.26% -0.0482 0.1441)
OKLCHoklch(82.26% 0.152 108.5)
XYZxyz(48.1536, 56.7512, 14.2107)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC46 #4648CE
analogous
#CE8846 #CECC46 #8CCE46
triadic
#CECC46 #46CECC #CC46CE
tetradic
#CECC46 #46CE88 #4648CE #CE468C
square
#CECC46 #46CE88 #4648CE #CE468C
split-complementary
#CECC46 #468CCE #8846CE
monochromatic
#797820 #AAA82D #CECC46 #DBD976 #E8E7A7

Accessibility & contrast

On white

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

On black

12.35
#CECC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC46
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC46#FFFFFF#000000##000000
##CECC461.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC433
Deuteranopia (green-blind)
#DEC94F
Tritanopia (blue-blind)
#DCBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecc46;
/* rgb */ color: rgb(206, 204, 70);
/* oklch */ color: oklch(82.3% 0.152 108.5);
Tailwind
colors: {
  custom: {
    50: '#e0db81',
    500: '#cecc46',
    950: '#000000',
  },
}
SCSS
$custom: #cecc46;
$custom-light: #e0db81;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc46",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 59.118,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82264,
    "c": 0.15193,
    "h": 108.5
  },
  "luminance": 0.5675
}

Semantic roles & 50–950 ramp

primary
#CECC46
secondary
#373882
accent
#49E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECC46

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

Preview Lab → · Contrast checker → · Palette generator →

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