#CEC63C#CEC63C

#CEC63C is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.153 H 106.0°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CEC63C
RGBrgb(206, 198, 60)
HSLhsl(57, 60%, 52%)
HSVhsv(57, 71%, 81%)
CMYKcmyk(0%, 3.9%, 70.9%, 19.2%)
CIE-LABlab(78.37, -12.87, 66.23)
CIE-LCHlch(78.37, 67.47, 101.00°)
OKLaboklab(80.91% -0.0422 0.1468)
OKLCHoklch(80.91% 0.153 106)
XYZxyz(46.4651, 53.8379, 12.2183)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC63C #3C44CE
analogous
#CE7D3C #CEC63C #8DCE3C
triadic
#CEC63C #3CCEC6 #C63CCE
tetradic
#CEC63C #3CCE7D #3C44CE #CE3C8D
square
#CEC63C #3CCE7D #3C44CE #CE3C8D
split-complementary
#CEC63C #3C8DCE #7D3CCE
monochromatic
#736E1D #A49D29 #CEC63C #DAD46D #E7E39E

Accessibility & contrast

On white

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

On black

11.77
#CEC63C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC63C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC63C#FFFFFF#000000##000000
##CEC63C1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF24
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#DDB9AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec63c;
/* rgb */ color: rgb(206, 198, 60);
/* oklch */ color: oklch(80.9% 0.153 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1d77b',
    500: '#cec63c',
    950: '#000000',
  },
}
SCSS
$custom: #cec63c;
$custom-light: #e1d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec63c",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 60
  },
  "hsl": {
    "h": 56.712,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80909,
    "c": 0.15277,
    "h": 106
  },
  "luminance": 0.53836
}

Semantic roles & 50–950 ramp

primary
#CEC63C
secondary
#33377C
accent
#4DE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC63C

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

Preview Lab → · Contrast checker → · Palette generator →

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