#CEC677#CEC677

#CEC677 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.101 H 103.3°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CEC677
RGBrgb(206, 198, 119)
HSLhsl(54, 47%, 64%)
HSVhsv(54, 42%, 81%)
CMYKcmyk(0%, 3.9%, 42.2%, 19.2%)
CIE-LABlab(78.95, -8.41, 40.50)
CIE-LCHlch(78.95, 41.37, 101.73°)
OKLaboklab(81.56% -0.0233 0.0982)
OKLCHoklch(81.56% 0.101 103.3)
XYZxyz(48.9784, 54.8432, 25.4549)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC677 #777FCE
analogous
#CE9A77 #CEC677 #AACE77
triadic
#CEC677 #77CEC6 #C677CE
tetradic
#CEC677 #77CE9A #777FCE #CE77AA
square
#CEC677 #77CE9A #777FCE #CE77AA
split-complementary
#CEC677 #77AACE #9A77CE
monochromatic
#958C36 #BEB34A #CEC677 #DED9A4 #EEECD1

Accessibility & contrast

On white

1.75
#CEC677 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CEC677 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC677
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC677#FFFFFF#000000##000000
##CEC6771.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C171
Deuteranopia (green-blind)
#D6C57A
Tritanopia (blue-blind)
#DABCB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec677;
/* rgb */ color: rgb(206, 198, 119);
/* oklch */ color: oklch(81.6% 0.101 103.3);
Tailwind
colors: {
  custom: {
    50: '#ded79f',
    500: '#cec677',
    950: '#000000',
  },
}
SCSS
$custom: #cec677;
$custom-light: #ded79f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec677",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 119
  },
  "hsl": {
    "h": 54.483,
    "s": 47.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81562,
    "c": 0.10089,
    "h": 103.3
  },
  "luminance": 0.54842
}

Semantic roles & 50–950 ramp

primary
#CEC677
secondary
#4E559B
accent
#38BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC677

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

Preview Lab → · Contrast checker → · Palette generator →

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