#CECD98#CECD98

#CECD98 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.070 H 106.9°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#CECD98
RGBrgb(206, 205, 152)
HSLhsl(59, 36%, 70%)
HSVhsv(59, 26%, 81%)
CMYKcmyk(0%, 0.5%, 26.2%, 19.2%)
CIE-LABlab(81.32, -8.06, 26.60)
CIE-LCHlch(81.32, 27.80, 106.86°)
OKLaboklab(83.61% -0.0204 0.067)
OKLCHoklch(83.61% 0.07 106.9)
XYZxyz(52.9525, 59.0522, 38.3084)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD98 #9899CE
analogous
#CEB298 #CECD98 #B4CE98
triadic
#CECD98 #98CECD #CD98CE
tetradic
#CECD98 #98CEB2 #9899CE #CE98B4
square
#CECD98 #98CEB2 #9899CE #CE98B4
split-complementary
#CECD98 #98B4CE #B298CE
monochromatic
#A09E4C #BAB96F #CECD98 #E2E1C1 #F5F5EA

Accessibility & contrast

On white

1.64
#CECD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#CECD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD98
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD98#FFFFFF#000000##000000
##CECD981.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C995
Deuteranopia (green-blind)
#D7CB9A
Tritanopia (blue-blind)
#D6C6BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cecd98;
/* rgb */ color: rgb(206, 205, 152);
/* oklch */ color: oklch(83.6% 0.070 106.9);
Tailwind
colors: {
  custom: {
    50: '#dddcb6',
    500: '#cecd98',
    950: '#000000',
  },
}
SCSS
$custom: #cecd98;
$custom-light: #dddcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd98",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 58.889,
    "s": 35.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83612,
    "c": 0.07001,
    "h": 106.9
  },
  "luminance": 0.59051
}

Semantic roles & 50–950 ramp

primary
#CECD98
secondary
#6768A3
accent
#39AE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CECD98

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

Preview Lab → · Contrast checker → · Palette generator →

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