#CDD862#CDD862

#CDD862 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.0% C 0.143 H 113.9°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#CDD862
RGBrgb(205, 216, 98)
HSLhsl(66, 60%, 62%)
HSVhsv(66, 55%, 85%)
CMYKcmyk(5.1%, 0%, 54.6%, 15.3%)
CIE-LABlab(83.43, -19.79, 55.93)
CIE-LCHlch(83.43, 59.33, 109.49°)
OKLaboklab(85.03% -0.0577 0.1304)
OKLCHoklch(85.03% 0.143 113.9)
XYZxyz(51.9383, 62.9736, 20.9720)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD862 #6D62D8
analogous
#D8A862 #CDD862 #92D862
triadic
#CDD862 #62CDD8 #D862CD
tetradic
#CDD862 #62D8A8 #6D62D8 #D86292
square
#CDD862 #62D8A8 #6D62D8 #D86292
split-complementary
#CDD862 #6292D8 #A862D8
monochromatic
#8F9926 #BCCA32 #CDD862 #DDE493 #ECF0C4

Accessibility & contrast

On white

1.54
#CDD862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#CDD862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD862
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD862#FFFFFF#000000##000000
##CDD8621.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#E5D169
Tritanopia (blue-blind)
#D9CDBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd862;
/* rgb */ color: rgb(205, 216, 98);
/* oklch */ color: oklch(85.0% 0.143 113.9);
Tailwind
colors: {
  custom: {
    50: '#dee392',
    500: '#cdd862',
    950: '#000000',
  },
}
SCSS
$custom: #cdd862;
$custom-light: #dee392;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd862",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 65.593,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85028,
    "c": 0.1426,
    "h": 113.9
  },
  "luminance": 0.62973
}

Semantic roles & 50–950 ramp

primary
#CDD862
secondary
#49409E
accent
#1EC82D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD862

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

Preview Lab → · Contrast checker → · Palette generator →

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