#CDD262#CDD262

#CDD262 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.7% C 0.136 H 111.3°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#CDD262
RGBrgb(205, 210, 98)
HSLhsl(63, 55%, 60%)
HSVhsv(63, 53%, 82%)
CMYKcmyk(2.4%, 0%, 53.3%, 17.6%)
CIE-LABlab(81.81, -16.83, 54.07)
CIE-LCHlch(81.81, 56.63, 107.29°)
OKLaboklab(83.74% -0.0493 0.1264)
OKLCHoklch(83.74% 0.136 111.3)
XYZxyz(50.4292, 59.9552, 20.4689)
Luminance0.5995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD262 #6762D2
analogous
#D29F62 #CDD262 #95D262
triadic
#CDD262 #62CDD2 #D262CD
tetradic
#CDD262 #62D29F #6762D2 #D26295
square
#CDD262 #62D29F #6762D2 #D26295
split-complementary
#CDD262 #6295D2 #9F62D2
monochromatic
#8C9029 #BAC037 #CDD262 #DCE092 #EBEDC1

Accessibility & contrast

On white

1.62
#CDD262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#CDD262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD262
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD262#FFFFFF#000000##000000
##CDD2621.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA57
Deuteranopia (green-blind)
#E1CD68
Tritanopia (blue-blind)
#D9C7B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd262;
/* rgb */ color: rgb(205, 210, 98);
/* oklch */ color: oklch(83.7% 0.136 111.3);
Tailwind
colors: {
  custom: {
    50: '#dedf92',
    500: '#cdd262',
    950: '#000000',
  },
}
SCSS
$custom: #cdd262;
$custom-light: #dedf92;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd262",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 62.679,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83739,
    "c": 0.13569,
    "h": 111.3
  },
  "luminance": 0.59954
}

Semantic roles & 50–950 ramp

primary
#CDD262
secondary
#464296
accent
#23C32A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD262

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

Preview Lab → · Contrast checker → · Palette generator →

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