#CECB7F#CECB7F

#CECB7F is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.098 H 106.4°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CECB7F
RGBrgb(206, 203, 127)
HSLhsl(58, 45%, 65%)
HSVhsv(58, 38%, 81%)
CMYKcmyk(0%, 1.5%, 38.3%, 19.2%)
CIE-LABlab(80.39, -10.11, 38.28)
CIE-LCHlch(80.39, 39.59, 104.80°)
OKLaboklab(82.74% -0.0275 0.0935)
OKLCHoklch(82.74% 0.098 106.4)
XYZxyz(50.6410, 57.3671, 28.4798)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB7F #7F82CE
analogous
#CEA47F #CECB7F #A9CE7F
triadic
#CECB7F #7FCECB #CB7FCE
tetradic
#CECB7F #7FCEA4 #7F82CE #CE7FA9
square
#CECB7F #7FCEA4 #7F82CE #CE7FA9
split-complementary
#CECB7F #7FA9CE #A47FCE
monochromatic
#98953A #BDB953 #CECB7F #DFDDAB #F0EFD8

Accessibility & contrast

On white

1.68
#CECB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CECB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB7F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB7F#FFFFFF#000000##000000
##CECB7F1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C579
Deuteranopia (green-blind)
#D9C982
Tritanopia (blue-blind)
#D9C2B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecb7f;
/* rgb */ color: rgb(206, 203, 127);
/* oklch */ color: oklch(82.7% 0.098 106.4);
Tailwind
colors: {
  custom: {
    50: '#dedaa5',
    500: '#cecb7f',
    950: '#000000',
  },
}
SCSS
$custom: #cecb7f;
$custom-light: #dedaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb7f",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 127
  },
  "hsl": {
    "h": 57.722,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82737,
    "c": 0.0975,
    "h": 106.4
  },
  "luminance": 0.57366
}

Semantic roles & 50–950 ramp

primary
#CECB7F
secondary
#53569E
accent
#33B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CECB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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