#CEC054#CEC054

#CEC054 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.129 H 102.0°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CEC054
RGBrgb(206, 192, 84)
HSLhsl(53, 55%, 57%)
HSVhsv(53, 59%, 81%)
CMYKcmyk(0%, 6.8%, 59.2%, 19.2%)
CIE-LABlab(76.96, -8.39, 54.95)
CIE-LCHlch(76.96, 55.59, 98.68°)
OKLaboklab(79.85% -0.0268 0.1267)
OKLCHoklch(79.85% 0.129 102)
XYZxyz(45.9051, 51.4629, 15.9011)
Luminance0.5146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC054 #5462CE
analogous
#CE8354 #CEC054 #9FCE54
triadic
#CEC054 #54CEC0 #C054CE
tetradic
#CEC054 #54CE83 #5462CE #CE549F
square
#CEC054 #54CE83 #5462CE #CE549F
split-complementary
#CEC054 #549FCE #8354CE
monochromatic
#827825 #B2A333 #CEC054 #DCD284 #E9E3B3

Accessibility & contrast

On white

1.86
#CEC054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CEC054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC054
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC054#FFFFFF#000000##000000
##CEC0541.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA48
Deuteranopia (green-blind)
#D4C15A
Tritanopia (blue-blind)
#DCB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec054;
/* rgb */ color: rgb(206, 192, 84);
/* oklch */ color: oklch(79.8% 0.129 102.0);
Tailwind
colors: {
  custom: {
    50: '#e0d288',
    500: '#cec054',
    950: '#000000',
  },
}
SCSS
$custom: #cec054;
$custom-light: #e0d288;
$custom-dark: #000000;
JSON
{
  "hex": "#cec054",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 84
  },
  "hsl": {
    "h": 53.115,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79849,
    "c": 0.12947,
    "h": 102
  },
  "luminance": 0.51461
}

Semantic roles & 50–950 ramp

primary
#CEC054
secondary
#3D458A
accent
#5ADF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC054

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

Preview Lab → · Contrast checker → · Palette generator →

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