#CEC558#CEC558

#CEC558 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.131 H 104.6°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CEC558
RGBrgb(206, 197, 88)
HSLhsl(55, 55%, 58%)
HSVhsv(55, 57%, 81%)
CMYKcmyk(0%, 4.4%, 57.3%, 19.2%)
CIE-LABlab(78.32, -10.66, 54.67)
CIE-LCHlch(78.32, 55.70, 101.03°)
OKLaboklab(80.94% -0.0329 0.1266)
OKLCHoklch(80.94% 0.131 104.6)
XYZxyz(47.1828, 53.7605, 17.1220)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC558 #5861CE
analogous
#CE8A58 #CEC558 #9CCE58
triadic
#CEC558 #58CEC5 #C558CE
tetradic
#CEC558 #58CE8A #5861CE #CE589C
square
#CEC558 #58CE8A #5861CE #CE589C
split-complementary
#CEC558 #589CCE #8A58CE
monochromatic
#857E27 #B4AA35 #CEC558 #DCD587 #EAE6B7

Accessibility & contrast

On white

1.79
#CEC558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CEC558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC558
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC558#FFFFFF#000000##000000
##CEC5581.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4D
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#DCB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec558;
/* rgb */ color: rgb(206, 197, 88);
/* oklch */ color: oklch(80.9% 0.131 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd68b',
    500: '#cec558',
    950: '#000000',
  },
}
SCSS
$custom: #cec558;
$custom-light: #dfd68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec558",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 55.424,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80944,
    "c": 0.13076,
    "h": 104.6
  },
  "luminance": 0.53759
}

Semantic roles & 50–950 ramp

primary
#CEC558
secondary
#3E448C
accent
#55DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC558

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

Preview Lab → · Contrast checker → · Palette generator →

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