#CEC654#CEC654

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

Color values

HEX#CEC654
RGBrgb(206, 198, 84)
HSLhsl(56, 55%, 57%)
HSVhsv(56, 59%, 81%)
CMYKcmyk(0%, 3.9%, 59.2%, 19.2%)
CIE-LABlab(78.55, -11.46, 56.72)
CIE-LCHlch(78.55, 57.86, 101.42°)
OKLaboklab(81.11% -0.0356 0.1304)
OKLCHoklch(81.11% 0.135 105.3)
XYZxyz(47.2495, 54.1517, 16.3492)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC654 #545CCE
analogous
#CE8954 #CEC654 #99CE54
triadic
#CEC654 #54CEC6 #C654CE
tetradic
#CEC654 #54CE89 #545CCE #CE5499
square
#CEC654 #54CE89 #545CCE #CE5499
split-complementary
#CEC654 #5499CE #8954CE
monochromatic
#827C25 #B2AA33 #CEC654 #DCD684 #E9E6B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC654#FFFFFF#000000##000000
##CEC6541.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)
#D6BF47
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#DCBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec654;
/* rgb */ color: rgb(206, 198, 84);
/* oklch */ color: oklch(81.1% 0.135 105.3);
Tailwind
colors: {
  custom: {
    50: '#e0d788',
    500: '#cec654',
    950: '#000000',
  },
}
SCSS
$custom: #cec654;
$custom-light: #e0d788;
$custom-dark: #000000;
JSON
{
  "hex": "#cec654",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 84
  },
  "hsl": {
    "h": 56.066,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81113,
    "c": 0.13519,
    "h": 105.3
  },
  "luminance": 0.5415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC654

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

Preview Lab → · Contrast checker → · Palette generator →

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