#CEC557#CEC557

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

Color values

HEX#CEC557
RGBrgb(206, 197, 87)
HSLhsl(55, 55%, 57%)
HSVhsv(55, 58%, 81%)
CMYKcmyk(0%, 4.4%, 57.8%, 19.2%)
CIE-LABlab(78.31, -10.73, 55.11)
CIE-LCHlch(78.31, 56.15, 101.02°)
OKLaboklab(80.93% -0.0332 0.1274)
OKLCHoklch(80.93% 0.132 104.6)
XYZxyz(47.1417, 53.7440, 16.9054)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC557 #5760CE
analogous
#CE8957 #CEC557 #9CCE57
triadic
#CEC557 #57CEC5 #C557CE
tetradic
#CEC557 #57CE89 #5760CE #CE579C
square
#CEC557 #57CE89 #5760CE #CE579C
split-complementary
#CEC557 #579CCE #8957CE
monochromatic
#847D27 #B3AA34 #CEC557 #DCD586 #EAE6B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC557#FFFFFF#000000##000000
##CEC5571.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)
#D5BF4B
Deuteranopia (green-blind)
#D8C45D
Tritanopia (blue-blind)
#DCB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec557;
/* rgb */ color: rgb(206, 197, 87);
/* oklch */ color: oklch(80.9% 0.132 104.6);
Tailwind
colors: {
  custom: {
    50: '#e0d68a',
    500: '#cec557',
    950: '#000000',
  },
}
SCSS
$custom: #cec557;
$custom-light: #e0d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#cec557",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 55.462,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80933,
    "c": 0.13164,
    "h": 104.6
  },
  "luminance": 0.53742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC557

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

Preview Lab → · Contrast checker → · Palette generator →

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