#CECB98#CECB98

#CECB98 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.068 H 104.9°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CECB98
RGBrgb(206, 203, 152)
HSLhsl(57, 36%, 70%)
HSVhsv(57, 26%, 81%)
CMYKcmyk(0%, 1.5%, 26.2%, 19.2%)
CIE-LABlab(80.80, -7.04, 25.89)
CIE-LCHlch(80.80, 26.83, 105.20°)
OKLaboklab(83.2% -0.0174 0.0653)
OKLCHoklch(83.2% 0.068 104.9)
XYZxyz(52.4771, 58.1015, 38.1499)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB98 #989BCE
analogous
#CEB098 #CECB98 #B6CE98
triadic
#CECB98 #98CECB #CB98CE
tetradic
#CECB98 #98CEB0 #989BCE #CE98B6
square
#CECB98 #98CEB0 #989BCE #CE98B6
split-complementary
#CECB98 #98B6CE #B098CE
monochromatic
#A09B4C #BAB66F #CECB98 #E2E0C1 #F5F5EA

Accessibility & contrast

On white

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

On black

12.62
#CECB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB98
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB98#FFFFFF#000000##000000
##CECB981.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C795
Deuteranopia (green-blind)
#D6CA9A
Tritanopia (blue-blind)
#D6C4BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecb98;
/* rgb */ color: rgb(206, 203, 152);
/* oklch */ color: oklch(83.2% 0.068 104.9);
Tailwind
colors: {
  custom: {
    50: '#dddab6',
    500: '#cecb98',
    950: '#000000',
  },
}
SCSS
$custom: #cecb98;
$custom-light: #dddab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb98",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 152
  },
  "hsl": {
    "h": 56.667,
    "s": 35.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83196,
    "c": 0.06757,
    "h": 104.9
  },
  "luminance": 0.58101
}

Semantic roles & 50–950 ramp

primary
#CECB98
secondary
#676AA3
accent
#3EAE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CECB98

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

Preview Lab → · Contrast checker → · Palette generator →

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