#CEC63F#CEC63F

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

Color values

HEX#CEC63F
RGBrgb(206, 198, 63)
HSLhsl(57, 59%, 53%)
HSVhsv(57, 69%, 81%)
CMYKcmyk(0%, 3.9%, 69.4%, 19.2%)
CIE-LABlab(78.39, -12.72, 65.15)
CIE-LCHlch(78.39, 66.38, 101.05°)
OKLaboklab(80.93% -0.0414 0.1451)
OKLCHoklch(80.93% 0.151 105.9)
XYZxyz(46.5467, 53.8705, 12.6478)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC63F #3F47CE
analogous
#CE7E3F #CEC63F #8FCE3F
triadic
#CEC63F #3FCEC6 #C63FCE
tetradic
#CEC63F #3FCE7E #3F47CE #CE3F8F
square
#CEC63F #3FCE7E #3F47CE #CE3F8F
split-complementary
#CEC63F #3F8FCE #7E3FCE
monochromatic
#75701E #A69F2A #CEC63F #DAD470 #E7E3A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC63F#FFFFFF#000000##000000
##CEC63F1.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)
#D7BF2A
Deuteranopia (green-blind)
#DAC448
Tritanopia (blue-blind)
#DDB9AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec63f;
/* rgb */ color: rgb(206, 198, 63);
/* oklch */ color: oklch(80.9% 0.151 105.9);
Tailwind
colors: {
  custom: {
    50: '#e1d77c',
    500: '#cec63f',
    950: '#000000',
  },
}
SCSS
$custom: #cec63f;
$custom-light: #e1d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec63f",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 63
  },
  "hsl": {
    "h": 56.643,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.8093,
    "c": 0.15087,
    "h": 105.9
  },
  "luminance": 0.53869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC63F

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

Preview Lab → · Contrast checker → · Palette generator →

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