#CDD968#CDD968

#CDD968 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.138 H 114.4°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#CDD968
RGBrgb(205, 217, 104)
HSLhsl(66, 60%, 63%)
HSVhsv(66, 52%, 85%)
CMYKcmyk(5.5%, 0%, 52.1%, 14.9%)
CIE-LABlab(83.76, -19.78, 53.57)
CIE-LCHlch(83.76, 57.11, 110.27°)
OKLaboklab(85.31% -0.0571 0.1259)
OKLCHoklch(85.31% 0.138 114.4)
XYZxyz(52.4893, 63.6051, 22.6059)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD968 #7468D9
analogous
#D9AD68 #CDD968 #94D968
triadic
#CDD968 #68CDD9 #D968CD
tetradic
#CDD968 #68D9AD #7468D9 #D96894
square
#CDD968 #68D9AD #7468D9 #D96894
split-complementary
#CDD968 #6894D9 #AD68D9
monochromatic
#929F28 #BDCD37 #CDD968 #DDE599 #EDF2CA

Accessibility & contrast

On white

1.53
#CDD968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#CDD968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD968
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD968#FFFFFF#000000##000000
##CDD9681.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D05D
Deuteranopia (green-blind)
#E6D26E
Tritanopia (blue-blind)
#D8CEC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd968;
/* rgb */ color: rgb(205, 217, 104);
/* oklch */ color: oklch(85.3% 0.138 114.4);
Tailwind
colors: {
  custom: {
    50: '#dee496',
    500: '#cdd968',
    950: '#000000',
  },
}
SCSS
$custom: #cdd968;
$custom-light: #dee496;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd968",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 66.372,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85313,
    "c": 0.13825,
    "h": 114.4
  },
  "luminance": 0.63604
}

Semantic roles & 50–950 ramp

primary
#CDD968
secondary
#4D43A3
accent
#1EC730
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD968

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

Preview Lab → · Contrast checker → · Palette generator →

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