#CEC64D#CEC64D

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

Color values

HEX#CEC64D
RGBrgb(206, 198, 77)
HSLhsl(56, 57%, 55%)
HSVhsv(56, 63%, 81%)
CMYKcmyk(0%, 3.9%, 62.6%, 19.2%)
CIE-LABlab(78.49, -11.93, 59.67)
CIE-LCHlch(78.49, 60.85, 101.30°)
OKLaboklab(81.05% -0.0377 0.1357)
OKLCHoklch(81.05% 0.141 105.5)
XYZxyz(46.9889, 54.0474, 14.9768)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC64D #4D55CE
analogous
#CE854D #CEC64D #95CE4D
triadic
#CEC64D #4DCEC6 #C64DCE
tetradic
#CEC64D #4DCE85 #4D55CE #CE4D95
square
#CEC64D #4DCE85 #4D55CE #CE4D95
split-complementary
#CEC64D #4D95CE #854DCE
monochromatic
#7E7823 #AEA630 #CEC64D #DBD57D #E8E5AD

Accessibility & contrast

On white

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

On black

11.81
#CEC64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC64D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC64D#FFFFFF#000000##000000
##CEC64D1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3E
Deuteranopia (green-blind)
#D9C554
Tritanopia (blue-blind)
#DCBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec64d;
/* rgb */ color: rgb(206, 198, 77);
/* oklch */ color: oklch(81.0% 0.141 105.5);
Tailwind
colors: {
  custom: {
    50: '#e0d784',
    500: '#cec64d',
    950: '#000000',
  },
}
SCSS
$custom: #cec64d;
$custom-light: #e0d784;
$custom-dark: #000000;
JSON
{
  "hex": "#cec64d",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 56.279,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81046,
    "c": 0.14087,
    "h": 105.5
  },
  "luminance": 0.54046
}

Semantic roles & 50–950 ramp

primary
#CEC64D
secondary
#3A3E86
accent
#51E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC64D

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

Preview Lab → · Contrast checker → · Palette generator →

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