#CECD7B#CECD7B

#CECD7B is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.104 H 107.9°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CECD7B
RGBrgb(206, 205, 123)
HSLhsl(59, 46%, 65%)
HSVhsv(59, 40%, 81%)
CMYKcmyk(0%, 0.5%, 40.3%, 19.2%)
CIE-LABlab(80.86, -11.56, 40.89)
CIE-LCHlch(80.86, 42.50, 105.79°)
OKLaboklab(83.09% -0.032 0.0993)
OKLCHoklch(83.09% 0.104 107.9)
XYZxyz(50.8609, 58.2156, 27.2925)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD7B #7B7CCE
analogous
#CEA47B #CECD7B #A6CE7B
triadic
#CECD7B #7BCECD #CD7BCE
tetradic
#CECD7B #7BCEA4 #7B7CCE #CE7BA6
square
#CECD7B #7BCEA4 #7B7CCE #CE7BA6
split-complementary
#CECD7B #7BA6CE #A47BCE
monochromatic
#979638 #BDBC4E #CECD7B #DFDEA8 #EFEFD4

Accessibility & contrast

On white

1.66
#CECD7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CECD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD7B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD7B#FFFFFF#000000##000000
##CECD7B1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C775
Deuteranopia (green-blind)
#DBCA7F
Tritanopia (blue-blind)
#D9C4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecd7b;
/* rgb */ color: rgb(206, 205, 123);
/* oklch */ color: oklch(83.1% 0.104 107.9);
Tailwind
colors: {
  custom: {
    50: '#dedca2',
    500: '#cecd7b',
    950: '#000000',
  },
}
SCSS
$custom: #cecd7b;
$custom-light: #dedca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd7b",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 123
  },
  "hsl": {
    "h": 59.277,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83094,
    "c": 0.10432,
    "h": 107.9
  },
  "luminance": 0.58215
}

Semantic roles & 50–950 ramp

primary
#CECD7B
secondary
#51519D
accent
#2EB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CECD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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