#CDC899#CDC899

#CDC899 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.5% C 0.063 H 102.6°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CDC899
RGBrgb(205, 200, 153)
HSLhsl(54, 34%, 70%)
HSVhsv(54, 25%, 80%)
CMYKcmyk(0%, 2.4%, 25.4%, 19.6%)
CIE-LABlab(79.95, -5.73, 24.20)
CIE-LCHlch(79.95, 24.87, 103.32°)
OKLaboklab(82.51% -0.0137 0.0612)
OKLCHoklch(82.51% 0.063 102.6)
XYZxyz(51.5810, 56.5885, 38.3363)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC899 #999ECD
analogous
#CDAE99 #CDC899 #B8CD99
triadic
#CDC899 #99CDC8 #C899CD
tetradic
#CDC899 #99CDAE #999ECD #CD99B8
square
#CDC899 #99CDAE #999ECD #CD99B8
split-complementary
#CDC899 #99B8CD #AE99CD
monochromatic
#9E964D #B9B270 #CDC899 #E1DEC2 #F5F4EA

Accessibility & contrast

On white

1.70
#CDC899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#CDC899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC899
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC899#FFFFFF#000000##000000
##CDC8991.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C596
Deuteranopia (green-blind)
#D3C89B
Tritanopia (blue-blind)
#D5C2BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdc899;
/* rgb */ color: rgb(205, 200, 153);
/* oklch */ color: oklch(82.5% 0.063 102.6);
Tailwind
colors: {
  custom: {
    50: '#dcd8b7',
    500: '#cdc899',
    950: '#000000',
  },
}
SCSS
$custom: #cdc899;
$custom-light: #dcd8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc899",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 153
  },
  "hsl": {
    "h": 54.231,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.82512,
    "c": 0.06273,
    "h": 102.6
  },
  "luminance": 0.56588
}

Semantic roles & 50–950 ramp

primary
#CDC899
secondary
#686EA2
accent
#44AD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC899

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

Preview Lab → · Contrast checker → · Palette generator →

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