#CEC646#CEC646

#CEC646 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.146 H 105.7°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CEC646
RGBrgb(206, 198, 70)
HSLhsl(56, 58%, 54%)
HSVhsv(56, 66%, 81%)
CMYKcmyk(0%, 3.9%, 66%, 19.2%)
CIE-LABlab(78.43, -12.35, 62.49)
CIE-LCHlch(78.43, 63.70, 101.18°)
OKLaboklab(80.99% -0.0396 0.1406)
OKLCHoklch(80.99% 0.146 105.7)
XYZxyz(46.7549, 53.9538, 13.7444)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC646 #464ECE
analogous
#CE8246 #CEC646 #92CE46
triadic
#CEC646 #46CEC6 #C646CE
tetradic
#CEC646 #46CE82 #464ECE #CE4692
square
#CEC646 #46CE82 #464ECE #CE4692
split-complementary
#CEC646 #4692CE #8246CE
monochromatic
#797420 #AAA22D #CEC646 #DBD576 #E8E4A7

Accessibility & contrast

On white

1.78
#CEC646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CEC646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC646
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC646#FFFFFF#000000##000000
##CEC6461.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF34
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#DDB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec646;
/* rgb */ color: rgb(206, 198, 70);
/* oklch */ color: oklch(81.0% 0.146 105.7);
Tailwind
colors: {
  custom: {
    50: '#e0d780',
    500: '#cec646',
    950: '#000000',
  },
}
SCSS
$custom: #cec646;
$custom-light: #e0d780;
$custom-dark: #000000;
JSON
{
  "hex": "#cec646",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 70
  },
  "hsl": {
    "h": 56.471,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80985,
    "c": 0.1461,
    "h": 105.7
  },
  "luminance": 0.53952
}

Semantic roles & 50–950 ramp

primary
#CEC646
secondary
#373B82
accent
#50E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC646

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

Preview Lab → · Contrast checker → · Palette generator →

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