#CEC63E#CEC63E

#CEC63E is a light, vivid yellow. Relative luminance 0.539; 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#CEC63E
RGBrgb(206, 198, 62)
HSLhsl(57, 60%, 53%)
HSVhsv(57, 70%, 81%)
CMYKcmyk(0%, 3.9%, 69.9%, 19.2%)
CIE-LABlab(78.38, -12.77, 65.52)
CIE-LCHlch(78.38, 66.75, 101.03°)
OKLaboklab(80.92% -0.0417 0.1457)
OKLCHoklch(80.92% 0.152 106)
XYZxyz(46.5190, 53.8595, 12.5020)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC63E #3E46CE
analogous
#CE7E3E #CEC63E #8ECE3E
triadic
#CEC63E #3ECEC6 #C63ECE
tetradic
#CEC63E #3ECE7E #3E46CE #CE3E8E
square
#CEC63E #3ECE7E #3E46CE #CE3E8E
split-complementary
#CEC63E #3E8ECE #7E3ECE
monochromatic
#746F1D #A59E2A #CEC63E #DAD46F #E7E3A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #cec63e;
/* rgb */ color: rgb(206, 198, 62);
/* oklch */ color: oklch(80.9% 0.152 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1d77c',
    500: '#cec63e',
    950: '#000000',
  },
}
SCSS
$custom: #cec63e;
$custom-light: #e1d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec63e",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 62
  },
  "hsl": {
    "h": 56.667,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80923,
    "c": 0.15152,
    "h": 106
  },
  "luminance": 0.53858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC63E

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

Preview Lab → · Contrast checker → · Palette generator →

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