#CEC555#CEC555

#CEC555 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.133 H 104.7°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CEC555
RGBrgb(206, 197, 85)
HSLhsl(56, 55%, 57%)
HSVhsv(56, 59%, 81%)
CMYKcmyk(0%, 4.4%, 58.7%, 19.2%)
CIE-LABlab(78.29, -10.88, 55.99)
CIE-LCHlch(78.29, 57.03, 101.00°)
OKLaboklab(80.91% -0.0338 0.129)
OKLCHoklch(80.91% 0.133 104.7)
XYZxyz(47.0611, 53.7118, 16.4810)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC555 #555ECE
analogous
#CE8955 #CEC555 #9BCE55
triadic
#CEC555 #55CEC5 #C555CE
tetradic
#CEC555 #55CE89 #555ECE #CE559B
square
#CEC555 #55CE89 #555ECE #CE559B
split-complementary
#CEC555 #559BCE #8955CE
monochromatic
#837C26 #B2A933 #CEC555 #DCD585 #E9E5B4

Accessibility & contrast

On white

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

On black

11.74
#CEC555 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC555
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC555#FFFFFF#000000##000000
##CEC5551.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec555;
/* rgb */ color: rgb(206, 197, 85);
/* oklch */ color: oklch(80.9% 0.133 104.7);
Tailwind
colors: {
  custom: {
    50: '#e0d689',
    500: '#cec555',
    950: '#000000',
  },
}
SCSS
$custom: #cec555;
$custom-light: #e0d689;
$custom-dark: #000000;
JSON
{
  "hex": "#cec555",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 85
  },
  "hsl": {
    "h": 55.537,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80912,
    "c": 0.13336,
    "h": 104.7
  },
  "luminance": 0.5371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC555

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

Preview Lab → · Contrast checker → · Palette generator →

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