#CDC969#CDC969

#CDC969 is a light, moderate yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.119 H 106.6°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CDC969
RGBrgb(205, 201, 105)
HSLhsl(58, 50%, 61%)
HSVhsv(58, 49%, 80%)
CMYKcmyk(0%, 2%, 48.8%, 19.6%)
CIE-LABlab(79.48, -11.71, 48.05)
CIE-LCHlch(79.48, 49.45, 103.70°)
OKLaboklab(81.91% -0.034 0.114)
OKLCHoklch(81.91% 0.119 106.6)
XYZxyz(48.6144, 55.7737, 21.5664)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC969 #696DCD
analogous
#CD9769 #CDC969 #9FCD69
triadic
#CDC969 #69CDC9 #C969CD
tetradic
#CDC969 #69CD97 #696DCD #CD699F
square
#CDC969 #69CD97 #696DCD #CD699F
split-complementary
#CDC969 #699FCD #9769CD
monochromatic
#8D892F #BBB63E #CDC969 #DCDA97 #ECEAC5

Accessibility & contrast

On white

1.73
#CDC969 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CDC969 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC969
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC969#FFFFFF#000000##000000
##CDC9691.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C360
Deuteranopia (green-blind)
#D9C76E
Tritanopia (blue-blind)
#D9BEB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc969;
/* rgb */ color: rgb(205, 201, 105);
/* oklch */ color: oklch(81.9% 0.119 106.6);
Tailwind
colors: {
  custom: {
    50: '#ded996',
    500: '#cdc969',
    950: '#000000',
  },
}
SCSS
$custom: #cdc969;
$custom-light: #ded996;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc969",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 105
  },
  "hsl": {
    "h": 57.6,
    "s": 50,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81908,
    "c": 0.11894,
    "h": 106.6
  },
  "luminance": 0.55772
}

Semantic roles & 50–950 ramp

primary
#CDC969
secondary
#474A93
accent
#2EBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC969

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

Preview Lab → · Contrast checker → · Palette generator →

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