#CECA8F#CECA8F

#CECA8F is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.077 H 104.7°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CECA8F
RGBrgb(206, 202, 143)
HSLhsl(56, 39%, 68%)
HSVhsv(56, 31%, 81%)
CMYKcmyk(0%, 1.9%, 30.6%, 19.2%)
CIE-LABlab(80.37, -7.70, 30.03)
CIE-LCHlch(80.37, 31.00, 104.38°)
OKLaboklab(82.81% -0.0196 0.075)
OKLCHoklch(82.81% 0.077 104.7)
XYZxyz(51.5324, 57.3470, 34.3357)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA8F #8F93CE
analogous
#CEAA8F #CECA8F #B2CE8F
triadic
#CECA8F #8FCECA #CA8FCE
tetradic
#CECA8F #8FCEAA #8F93CE #CE8FB2
square
#CECA8F #8FCEAA #8F93CE #CE8FB2
split-complementary
#CECA8F #8FB2CE #AA8FCE
monochromatic
#9E9845 #BBB664 #CECA8F #E1DEBA #F3F2E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECA8F#FFFFFF#000000##000000
##CECA8F1.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)
#D4C68B
Deuteranopia (green-blind)
#D6C991
Tritanopia (blue-blind)
#D7C2BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ceca8f;
/* rgb */ color: rgb(206, 202, 143);
/* oklch */ color: oklch(82.8% 0.077 104.7);
Tailwind
colors: {
  custom: {
    50: '#dddab0',
    500: '#ceca8f',
    950: '#000000',
  },
}
SCSS
$custom: #ceca8f;
$custom-light: #dddab0;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca8f",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 143
  },
  "hsl": {
    "h": 56.19,
    "s": 39.13,
    "l": 68.431
  },
  "oklch": {
    "l": 0.82811,
    "c": 0.07749,
    "h": 104.7
  },
  "luminance": 0.57346
}

Semantic roles & 50–950 ramp

primary
#CECA8F
secondary
#5E62A3
accent
#3BB233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CECA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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