#CEC063#CEC063

#CEC063 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.116 H 100.9°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CEC063
RGBrgb(206, 192, 99)
HSLhsl(52, 52%, 60%)
HSVhsv(52, 52%, 81%)
CMYKcmyk(0%, 6.8%, 51.9%, 19.2%)
CIE-LABlab(77.12, -7.22, 48.13)
CIE-LCHlch(77.12, 48.67, 98.53°)
OKLaboklab(80.02% -0.0218 0.1136)
OKLCHoklch(80.02% 0.116 100.9)
XYZxyz(46.5568, 51.7236, 19.3332)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC063 #6371CE
analogous
#CE8B63 #CEC063 #A6CE63
triadic
#CEC063 #63CEC0 #C063CE
tetradic
#CEC063 #63CE8B #6371CE #CE63A6
square
#CEC063 #63CE8B #6371CE #CE63A6
split-complementary
#CEC063 #63A6CE #8B63CE
monochromatic
#8B7E2C #BAA93A #CEC063 #DDD392 #EBE6C0

Accessibility & contrast

On white

1.85
#CEC063 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CEC063 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC063
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC063#FFFFFF#000000##000000
##CEC0631.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB5B
Deuteranopia (green-blind)
#D3C167
Tritanopia (blue-blind)
#DCB5AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec063;
/* rgb */ color: rgb(206, 192, 99);
/* oklch */ color: oklch(80.0% 0.116 100.9);
Tailwind
colors: {
  custom: {
    50: '#dfd292',
    500: '#cec063',
    950: '#000000',
  },
}
SCSS
$custom: #cec063;
$custom-light: #dfd292;
$custom-dark: #000000;
JSON
{
  "hex": "#cec063",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 99
  },
  "hsl": {
    "h": 52.15,
    "s": 52.195,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80023,
    "c": 0.11568,
    "h": 100.9
  },
  "luminance": 0.51722
}

Semantic roles & 50–950 ramp

primary
#CEC063
secondary
#444E92
accent
#5FDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC063

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

Preview Lab → · Contrast checker → · Palette generator →

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