#CEC756#CEC756

#CEC756 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.134 H 105.7°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CEC756
RGBrgb(206, 199, 86)
HSLhsl(57, 55%, 57%)
HSVhsv(57, 58%, 81%)
CMYKcmyk(0%, 3.4%, 58.3%, 19.2%)
CIE-LABlab(78.83, -11.82, 56.14)
CIE-LCHlch(78.83, 57.38, 101.89°)
OKLaboklab(81.35% -0.0364 0.1295)
OKLCHoklch(81.35% 0.134 105.7)
XYZxyz(47.5583, 54.6421, 16.8441)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC756 #565DCE
analogous
#CE8B56 #CEC756 #99CE56
triadic
#CEC756 #56CEC7 #C756CE
tetradic
#CEC756 #56CE8B #565DCE #CE5699
square
#CEC756 #56CE8B #565DCE #CE5699
split-complementary
#CEC756 #5699CE #8B56CE
monochromatic
#837E26 #B3AC34 #CEC756 #DCD785 #EAE6B5

Accessibility & contrast

On white

1.76
#CEC756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CEC756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC756
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC756#FFFFFF#000000##000000
##CEC7561.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C04A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#DCBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec756;
/* rgb */ color: rgb(206, 199, 86);
/* oklch */ color: oklch(81.3% 0.134 105.7);
Tailwind
colors: {
  custom: {
    50: '#e0d78a',
    500: '#cec756',
    950: '#000000',
  },
}
SCSS
$custom: #cec756;
$custom-light: #e0d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cec756",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 56.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81346,
    "c": 0.13449,
    "h": 105.7
  },
  "luminance": 0.54641
}

Semantic roles & 50–950 ramp

primary
#CEC756
secondary
#3E428B
accent
#52DE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC756

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

Preview Lab → · Contrast checker → · Palette generator →

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