#CEC656#CEC656

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

Color values

HEX#CEC656
RGBrgb(206, 198, 86)
HSLhsl(56, 55%, 57%)
HSVhsv(56, 58%, 81%)
CMYKcmyk(0%, 3.9%, 58.3%, 19.2%)
CIE-LABlab(78.57, -11.32, 55.85)
CIE-LCHlch(78.57, 56.98, 101.45°)
OKLaboklab(81.13% -0.035 0.1288)
OKLCHoklch(81.13% 0.133 105.2)
XYZxyz(47.3289, 54.1834, 16.7676)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC656 #565ECE
analogous
#CE8A56 #CEC656 #9ACE56
triadic
#CEC656 #56CEC6 #C656CE
tetradic
#CEC656 #56CE8A #565ECE #CE569A
square
#CEC656 #56CE8A #565ECE #CE569A
split-complementary
#CEC656 #569ACE #8A56CE
monochromatic
#837D26 #B3AA34 #CEC656 #DCD685 #EAE6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC656#FFFFFF#000000##000000
##CEC6561.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)
#D6BF4A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#DCBAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec656;
/* rgb */ color: rgb(206, 198, 86);
/* oklch */ color: oklch(81.1% 0.133 105.2);
Tailwind
colors: {
  custom: {
    50: '#e0d78a',
    500: '#cec656',
    950: '#000000',
  },
}
SCSS
$custom: #cec656;
$custom-light: #e0d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cec656",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 56,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81134,
    "c": 0.13349,
    "h": 105.2
  },
  "luminance": 0.54182
}

Semantic roles & 50–950 ramp

primary
#CEC656
secondary
#3E438B
accent
#53DE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC656

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

Preview Lab → · Contrast checker → · Palette generator →

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