#CEC653#CEC653

#CEC653 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.136 H 105.3°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CEC653
RGBrgb(206, 198, 83)
HSLhsl(56, 56%, 57%)
HSVhsv(56, 60%, 81%)
CMYKcmyk(0%, 3.9%, 59.7%, 19.2%)
CIE-LABlab(78.54, -11.53, 57.15)
CIE-LCHlch(78.54, 58.30, 101.40°)
OKLaboklab(81.1% -0.0359 0.1312)
OKLCHoklch(81.1% 0.136 105.3)
XYZxyz(47.2106, 54.1361, 16.1444)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC653 #535BCE
analogous
#CE8953 #CEC653 #98CE53
triadic
#CEC653 #53CEC6 #C653CE
tetradic
#CEC653 #53CE89 #535BCE #CE5398
square
#CEC653 #53CE89 #535BCE #CE5398
split-complementary
#CEC653 #5398CE #8953CE
monochromatic
#827C25 #B1A933 #CEC653 #DCD683 #E9E6B2

Accessibility & contrast

On white

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

On black

11.83
#CEC653 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC653
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC653#FFFFFF#000000##000000
##CEC6531.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF46
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#DCBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec653;
/* rgb */ color: rgb(206, 198, 83);
/* oklch */ color: oklch(81.1% 0.136 105.3);
Tailwind
colors: {
  custom: {
    50: '#e0d788',
    500: '#cec653',
    950: '#000000',
  },
}
SCSS
$custom: #cec653;
$custom-light: #e0d788;
$custom-dark: #000000;
JSON
{
  "hex": "#cec653",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 83
  },
  "hsl": {
    "h": 56.098,
    "s": 55.656,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81103,
    "c": 0.13603,
    "h": 105.3
  },
  "luminance": 0.54135
}

Semantic roles & 50–950 ramp

primary
#CEC653
secondary
#3C4189
accent
#53DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC653

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

Preview Lab → · Contrast checker → · Palette generator →

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