#CEC63D#CEC63D

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

Color values

HEX#CEC63D
RGBrgb(206, 198, 61)
HSLhsl(57, 60%, 52%)
HSVhsv(57, 70%, 81%)
CMYKcmyk(0%, 3.9%, 70.4%, 19.2%)
CIE-LABlab(78.37, -12.82, 65.88)
CIE-LCHlch(78.37, 67.11, 101.02°)
OKLaboklab(80.92% -0.0419 0.1463)
OKLCHoklch(80.92% 0.152 106)
XYZxyz(46.4918, 53.8486, 12.3588)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC63D #3D45CE
analogous
#CE7E3D #CEC63D #8DCE3D
triadic
#CEC63D #3DCEC6 #C63DCE
tetradic
#CEC63D #3DCE7E #3D45CE #CE3D8D
square
#CEC63D #3DCE7E #3D45CE #CE3D8D
split-complementary
#CEC63D #3D8DCE #7E3DCE
monochromatic
#736F1D #A49E29 #CEC63D #DAD46E #E7E39F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC63D#FFFFFF#000000##000000
##CEC63D1.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)
#D7BF26
Deuteranopia (green-blind)
#DAC447
Tritanopia (blue-blind)
#DDB9AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec63d;
/* rgb */ color: rgb(206, 198, 61);
/* oklch */ color: oklch(80.9% 0.152 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1d77b',
    500: '#cec63d',
    950: '#000000',
  },
}
SCSS
$custom: #cec63d;
$custom-light: #e1d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec63d",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 61
  },
  "hsl": {
    "h": 56.69,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80916,
    "c": 0.15215,
    "h": 106
  },
  "luminance": 0.53847
}

Semantic roles & 50–950 ramp

primary
#CEC63D
secondary
#33377C
accent
#4EE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC63D

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

Preview Lab → · Contrast checker → · Palette generator →

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