#CDCE98#CDCE98

#CDCE98 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.071 H 108.7°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CDCE98
RGBrgb(205, 206, 152)
HSLhsl(61, 36%, 70%)
HSVhsv(61, 26%, 81%)
CMYKcmyk(0.5%, 0%, 26.2%, 19.2%)
CIE-LABlab(81.51, -8.96, 26.84)
CIE-LCHlch(81.51, 28.29, 108.45°)
OKLaboklab(83.74% -0.0229 0.0676)
OKLCHoklch(83.74% 0.071 108.7)
XYZxyz(52.9156, 59.3895, 38.3754)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE98 #9998CE
analogous
#CEB498 #CDCE98 #B2CE98
triadic
#CDCE98 #98CDCE #CE98CD
tetradic
#CDCE98 #98CEB4 #9998CE #CE98B2
square
#CDCE98 #98CEB4 #9998CE #CE98B2
split-complementary
#CDCE98 #98B2CE #B498CE
monochromatic
#9EA04C #B9BA6F #CDCE98 #E1E2C1 #F5F5EA

Accessibility & contrast

On white

1.63
#CDCE98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#CDCE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE98
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE98#FFFFFF#000000##000000
##CDCE981.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C994
Deuteranopia (green-blind)
#D8CC9A
Tritanopia (blue-blind)
#D5C7C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdce98;
/* rgb */ color: rgb(205, 206, 152);
/* oklch */ color: oklch(83.7% 0.071 108.7);
Tailwind
colors: {
  custom: {
    50: '#dddcb6',
    500: '#cdce98',
    950: '#000000',
  },
}
SCSS
$custom: #cdce98;
$custom-light: #dddcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce98",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 152
  },
  "hsl": {
    "h": 61.111,
    "s": 35.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83739,
    "c": 0.07133,
    "h": 108.7
  },
  "luminance": 0.59389
}

Semantic roles & 50–950 ramp

primary
#CDCE98
secondary
#6867A3
accent
#37AE39
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCE98

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

Preview Lab → · Contrast checker → · Palette generator →

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