#CEC647#CEC647

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

Color values

HEX#CEC647
RGBrgb(206, 198, 71)
HSLhsl(56, 58%, 54%)
HSVhsv(56, 66%, 81%)
CMYKcmyk(0%, 3.9%, 65.5%, 19.2%)
CIE-LABlab(78.44, -12.29, 62.10)
CIE-LCHlch(78.44, 63.30, 101.19°)
OKLaboklab(80.99% -0.0394 0.14)
OKLCHoklch(80.99% 0.145 105.7)
XYZxyz(46.7868, 53.9666, 13.9121)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC647 #474FCE
analogous
#CE8247 #CEC647 #93CE47
triadic
#CEC647 #47CEC6 #C647CE
tetradic
#CEC647 #47CE82 #474FCE #CE4793
square
#CEC647 #47CE82 #474FCE #CE4793
split-complementary
#CEC647 #4793CE #8247CE
monochromatic
#7A7521 #AAA32D #CEC647 #DBD577 #E8E4A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC647#FFFFFF#000000##000000
##CEC6471.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)
#D6BF36
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#DDB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec647;
/* rgb */ color: rgb(206, 198, 71);
/* oklch */ color: oklch(81.0% 0.145 105.7);
Tailwind
colors: {
  custom: {
    50: '#e0d781',
    500: '#cec647',
    950: '#000000',
  },
}
SCSS
$custom: #cec647;
$custom-light: #e0d781;
$custom-dark: #000000;
JSON
{
  "hex": "#cec647",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 71
  },
  "hsl": {
    "h": 56.444,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80993,
    "c": 0.14539,
    "h": 105.7
  },
  "luminance": 0.53965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC647

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

Preview Lab → · Contrast checker → · Palette generator →

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