#CECC7B#CECC7B

#CECC7B is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.103 H 107.2°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CECC7B
RGBrgb(206, 204, 123)
HSLhsl(59, 46%, 65%)
HSVhsv(59, 40%, 81%)
CMYKcmyk(0%, 1%, 40.3%, 19.2%)
CIE-LABlab(80.59, -11.06, 40.56)
CIE-LCHlch(80.59, 42.04, 105.25°)
OKLaboklab(82.88% -0.0305 0.0985)
OKLCHoklch(82.88% 0.103 107.2)
XYZxyz(50.6224, 57.7387, 27.2130)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC7B #7B7DCE
analogous
#CEA37B #CECC7B #A7CE7B
triadic
#CECC7B #7BCECC #CC7BCE
tetradic
#CECC7B #7BCEA3 #7B7DCE #CE7BA7
square
#CECC7B #7BCEA3 #7B7DCE #CE7BA7
split-complementary
#CECC7B #7BA7CE #A37BCE
monochromatic
#979438 #BDBB4E #CECC7B #DFDDA8 #EFEED4

Accessibility & contrast

On white

1.67
#CECC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CECC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC7B
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC7B#FFFFFF#000000##000000
##CECC7B1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C675
Deuteranopia (green-blind)
#DACA7F
Tritanopia (blue-blind)
#D9C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecc7b;
/* rgb */ color: rgb(206, 204, 123);
/* oklch */ color: oklch(82.9% 0.103 107.2);
Tailwind
colors: {
  custom: {
    50: '#dedba2',
    500: '#cecc7b',
    950: '#000000',
  },
}
SCSS
$custom: #cecc7b;
$custom-light: #dedba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc7b",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 123
  },
  "hsl": {
    "h": 58.554,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82884,
    "c": 0.10315,
    "h": 107.2
  },
  "luminance": 0.57738
}

Semantic roles & 50–950 ramp

primary
#CECC7B
secondary
#51529D
accent
#30B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CECC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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