#CEC455#CEC455

#CEC455 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.132 H 104.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CEC455
RGBrgb(206, 196, 85)
HSLhsl(55, 55%, 57%)
HSVhsv(55, 59%, 81%)
CMYKcmyk(0%, 4.9%, 58.7%, 19.2%)
CIE-LABlab(78.03, -10.37, 55.69)
CIE-LCHlch(78.03, 56.65, 100.55°)
OKLaboklab(80.7% -0.0324 0.1284)
OKLCHoklch(80.7% 0.132 104.2)
XYZxyz(46.8348, 53.2592, 16.4056)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC455 #555FCE
analogous
#CE8755 #CEC455 #9CCE55
triadic
#CEC455 #55CEC4 #C455CE
tetradic
#CEC455 #55CE87 #555FCE #CE559C
square
#CEC455 #55CE87 #555FCE #CE559C
split-complementary
#CEC455 #559CCE #8755CE
monochromatic
#837B26 #B2A833 #CEC455 #DCD485 #E9E5B4

Accessibility & contrast

On white

1.80
#CEC455 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CEC455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC455
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC455#FFFFFF#000000##000000
##CEC4551.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE49
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#DCB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec455;
/* rgb */ color: rgb(206, 196, 85);
/* oklch */ color: oklch(80.7% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#e0d589',
    500: '#cec455',
    950: '#000000',
  },
}
SCSS
$custom: #cec455;
$custom-light: #e0d589;
$custom-dark: #000000;
JSON
{
  "hex": "#cec455",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 85
  },
  "hsl": {
    "h": 55.041,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80701,
    "c": 0.13239,
    "h": 104.2
  },
  "luminance": 0.53258
}

Semantic roles & 50–950 ramp

primary
#CEC455
secondary
#3D438A
accent
#56DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC455

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

Preview Lab → · Contrast checker → · Palette generator →

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