#CDD962#CDD962

#CDD962 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.2% C 0.144 H 114.3°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#CDD962
RGBrgb(205, 217, 98)
HSLhsl(66, 61%, 62%)
HSVhsv(66, 55%, 85%)
CMYKcmyk(5.5%, 0%, 54.8%, 14.9%)
CIE-LABlab(83.70, -20.28, 56.23)
CIE-LCHlch(83.70, 59.78, 109.83°)
OKLaboklab(85.24% -0.0591 0.1311)
OKLCHoklch(85.24% 0.144 114.3)
XYZxyz(52.1953, 63.4875, 21.0576)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD962 #6E62D9
analogous
#D9A962 #CDD962 #92D962
triadic
#CDD962 #62CDD9 #D962CD
tetradic
#CDD962 #62D9A9 #6E62D9 #D96292
square
#CDD962 #62D9A9 #6E62D9 #D96292
split-complementary
#CDD962 #6292D9 #A962D9
monochromatic
#8F9B26 #BDCC31 #CDD962 #DDE593 #ECF1C5

Accessibility & contrast

On white

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

On black

13.70
#CDD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD962
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD962#FFFFFF#000000##000000
##CDD9621.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#E6D269
Tritanopia (blue-blind)
#D9CEBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd962;
/* rgb */ color: rgb(205, 217, 98);
/* oklch */ color: oklch(85.2% 0.144 114.3);
Tailwind
colors: {
  custom: {
    50: '#dee492',
    500: '#cdd962',
    950: '#000000',
  },
}
SCSS
$custom: #cdd962;
$custom-light: #dee492;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd962",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 66.05,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85244,
    "c": 0.14377,
    "h": 114.3
  },
  "luminance": 0.63487
}

Semantic roles & 50–950 ramp

primary
#CDD962
secondary
#4A409F
accent
#1DC92E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD962

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

Preview Lab → · Contrast checker → · Palette generator →

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