#CDCB98#CDCB98

#CDCB98 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.068 H 105.9°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CDCB98
RGBrgb(205, 203, 152)
HSLhsl(58, 35%, 70%)
HSVhsv(58, 26%, 80%)
CMYKcmyk(0%, 1%, 25.9%, 19.6%)
CIE-LABlab(80.72, -7.42, 25.77)
CIE-LCHlch(80.72, 26.82, 106.05°)
OKLaboklab(83.11% -0.0185 0.065)
OKLCHoklch(83.11% 0.068 105.9)
XYZxyz(52.2003, 57.9588, 38.1370)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB98 #989ACD
analogous
#CDB198 #CDCB98 #B4CD98
triadic
#CDCB98 #98CDCB #CB98CD
tetradic
#CDCB98 #98CDB1 #989ACD #CD98B4
square
#CDCB98 #98CDB1 #989ACD #CD98B4
split-complementary
#CDCB98 #98B4CD #B198CD
monochromatic
#9E9B4D #B9B66F #CDCB98 #E1E0C1 #F5F5EA

Accessibility & contrast

On white

1.67
#CDCB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#CDCB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB98
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB98#FFFFFF#000000##000000
##CDCB981.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C795
Deuteranopia (green-blind)
#D5CA9A
Tritanopia (blue-blind)
#D5C4BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcb98;
/* rgb */ color: rgb(205, 203, 152);
/* oklch */ color: oklch(83.1% 0.068 105.9);
Tailwind
colors: {
  custom: {
    50: '#dcdab6',
    500: '#cdcb98',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb98;
$custom-light: #dcdab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb98",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 152
  },
  "hsl": {
    "h": 57.736,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.83114,
    "c": 0.06757,
    "h": 105.9
  },
  "luminance": 0.57958
}

Semantic roles & 50–950 ramp

primary
#CDCB98
secondary
#6769A2
accent
#3CAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCB98

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

Preview Lab → · Contrast checker → · Palette generator →

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