#CECE7B#CECE7B

#CECE7B is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.105 H 108.5°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CECE7B
RGBrgb(206, 206, 123)
HSLhsl(60, 46%, 65%)
HSVhsv(60, 40%, 81%)
CMYKcmyk(0%, 0%, 40.3%, 19.2%)
CIE-LABlab(81.12, -12.07, 41.23)
CIE-LCHlch(81.12, 42.96, 106.32°)
OKLaboklab(83.31% -0.0334 0.1)
OKLCHoklch(83.31% 0.105 108.5)
XYZxyz(51.1008, 58.6955, 27.3725)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECE7B #7B7BCE
analogous
#CEA57B #CECE7B #A5CE7B
triadic
#CECE7B #7BCECE #CE7BCE
tetradic
#CECE7B #7BCEA5 #7B7BCE #CE7BA5
square
#CECE7B #7BCEA5 #7B7BCE #CE7BA5
split-complementary
#CECE7B #7BA5CE #A57BCE
monochromatic
#979738 #BDBD4E #CECE7B #DFDFA8 #EFEFD4

Accessibility & contrast

On white

1.65
#CECE7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#CECE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECE7B
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECE7B#FFFFFF#000000##000000
##CECE7B1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC875
Deuteranopia (green-blind)
#DCCB7F
Tritanopia (blue-blind)
#D9C5BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cece7b;
/* rgb */ color: rgb(206, 206, 123);
/* oklch */ color: oklch(83.3% 0.105 108.5);
Tailwind
colors: {
  custom: {
    50: '#dedca2',
    500: '#cece7b',
    950: '#000000',
  },
}
SCSS
$custom: #cece7b;
$custom-light: #dedca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cece7b",
  "rgb": {
    "r": 206,
    "g": 206,
    "b": 123
  },
  "hsl": {
    "h": 60,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83305,
    "c": 0.10548,
    "h": 108.5
  },
  "luminance": 0.58694
}

Semantic roles & 50–950 ramp

primary
#CECE7B
secondary
#51519D
accent
#2CB92C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CECE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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