#CEC657#CEC657

#CEC657 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.133 H 105.1°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CEC657
RGBrgb(206, 198, 87)
HSLhsl(56, 55%, 57%)
HSVhsv(56, 58%, 81%)
CMYKcmyk(0%, 3.9%, 57.8%, 19.2%)
CIE-LABlab(78.58, -11.24, 55.41)
CIE-LCHlch(78.58, 56.54, 101.47°)
OKLaboklab(81.15% -0.0347 0.128)
OKLCHoklch(81.15% 0.133 105.1)
XYZxyz(47.3695, 54.1997, 16.9813)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC657 #575FCE
analogous
#CE8A57 #CEC657 #9BCE57
triadic
#CEC657 #57CEC6 #C657CE
tetradic
#CEC657 #57CE8A #575FCE #CE579B
square
#CEC657 #57CE8A #575FCE #CE579B
split-complementary
#CEC657 #579BCE #8A57CE
monochromatic
#847E27 #B3AB34 #CEC657 #DCD686 #EAE6B6

Accessibility & contrast

On white

1.77
#CEC657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CEC657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC657
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC657#FFFFFF#000000##000000
##CEC6571.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C04B
Deuteranopia (green-blind)
#D9C55D
Tritanopia (blue-blind)
#DCBAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec657;
/* rgb */ color: rgb(206, 198, 87);
/* oklch */ color: oklch(81.1% 0.133 105.1);
Tailwind
colors: {
  custom: {
    50: '#e0d78a',
    500: '#cec657',
    950: '#000000',
  },
}
SCSS
$custom: #cec657;
$custom-light: #e0d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cec657",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 55.966,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81145,
    "c": 0.13263,
    "h": 105.1
  },
  "luminance": 0.54198
}

Semantic roles & 50–950 ramp

primary
#CEC657
secondary
#3E438B
accent
#54DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC657

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

Preview Lab → · Contrast checker → · Palette generator →

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