#CEC154#CEC154

#CEC154 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.130 H 102.5°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CEC154
RGBrgb(206, 193, 84)
HSLhsl(54, 55%, 57%)
HSVhsv(54, 59%, 81%)
CMYKcmyk(0%, 6.3%, 59.2%, 19.2%)
CIE-LABlab(77.22, -8.90, 55.25)
CIE-LCHlch(77.22, 55.96, 99.16°)
OKLaboklab(80.06% -0.0283 0.1273)
OKLCHoklch(80.06% 0.13 102.5)
XYZxyz(46.1254, 51.9036, 15.9745)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC154 #5461CE
analogous
#CE8454 #CEC154 #9ECE54
triadic
#CEC154 #54CEC1 #C154CE
tetradic
#CEC154 #54CE84 #5461CE #CE549E
square
#CEC154 #54CE84 #5461CE #CE549E
split-complementary
#CEC154 #549ECE #8454CE
monochromatic
#827825 #B2A433 #CEC154 #DCD284 #E9E3B3

Accessibility & contrast

On white

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

On black

11.38
#CEC154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC154
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC154#FFFFFF#000000##000000
##CEC1541.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB48
Deuteranopia (green-blind)
#D5C15A
Tritanopia (blue-blind)
#DCB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec154;
/* rgb */ color: rgb(206, 193, 84);
/* oklch */ color: oklch(80.1% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#e0d388',
    500: '#cec154',
    950: '#000000',
  },
}
SCSS
$custom: #cec154;
$custom-light: #e0d388;
$custom-dark: #000000;
JSON
{
  "hex": "#cec154",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 53.607,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80059,
    "c": 0.1304,
    "h": 102.5
  },
  "luminance": 0.51902
}

Semantic roles & 50–950 ramp

primary
#CEC154
secondary
#3D458A
accent
#59DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC154

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

Preview Lab → · Contrast checker → · Palette generator →

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