#CEC863#CEC863

#CEC863 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.124 H 105.7°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CEC863
RGBrgb(206, 200, 99)
HSLhsl(57, 52%, 60%)
HSVhsv(57, 52%, 81%)
CMYKcmyk(0%, 2.9%, 51.9%, 19.2%)
CIE-LABlab(79.23, -11.32, 50.63)
CIE-LCHlch(79.23, 51.88, 102.60°)
OKLaboklab(81.71% -0.0336 0.119)
OKLCHoklch(81.71% 0.124 105.7)
XYZxyz(48.3613, 55.3326, 19.9347)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC863 #6369CE
analogous
#CE9363 #CEC863 #9ECE63
triadic
#CEC863 #63CEC8 #C863CE
tetradic
#CEC863 #63CE93 #6369CE #CE639E
square
#CEC863 #63CE93 #6369CE #CE639E
split-complementary
#CEC863 #639ECE #9363CE
monochromatic
#8B862C #BAB23A #CEC863 #DDD892 #EBE9C0

Accessibility & contrast

On white

1.74
#CEC863 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CEC863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC863
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC863#FFFFFF#000000##000000
##CEC8631.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C25A
Deuteranopia (green-blind)
#D9C668
Tritanopia (blue-blind)
#DBBDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec863;
/* rgb */ color: rgb(206, 200, 99);
/* oklch */ color: oklch(81.7% 0.124 105.7);
Tailwind
colors: {
  custom: {
    50: '#dfd892',
    500: '#cec863',
    950: '#000000',
  },
}
SCSS
$custom: #cec863;
$custom-light: #dfd892;
$custom-dark: #000000;
JSON
{
  "hex": "#cec863",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 99
  },
  "hsl": {
    "h": 56.636,
    "s": 52.195,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81705,
    "c": 0.12368,
    "h": 105.7
  },
  "luminance": 0.55331
}

Semantic roles & 50–950 ramp

primary
#CEC863
secondary
#444892
accent
#54DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC863

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

Preview Lab → · Contrast checker → · Palette generator →

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