#CDD152#CDD152

#CDD152 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.4% C 0.148 H 110.9°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CDD152
RGBrgb(205, 209, 82)
HSLhsl(62, 58%, 57%)
HSVhsv(62, 61%, 82%)
CMYKcmyk(1.9%, 0%, 60.8%, 18%)
CIE-LABlab(81.40, -17.53, 60.66)
CIE-LCHlch(81.40, 63.14, 106.12°)
OKLaboklab(83.36% -0.053 0.1386)
OKLCHoklch(83.36% 0.148 110.9)
XYZxyz(49.5017, 59.1905, 16.7983)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD152 #5652D1
analogous
#D19652 #CDD152 #8DD152
triadic
#CDD152 #52CDD1 #D152CD
tetradic
#CDD152 #52D196 #5652D1 #D1528D
square
#CDD152 #52D196 #5652D1 #D1528D
split-complementary
#CDD152 #528DD1 #9652D1
monochromatic
#828523 #B1B630 #CDD152 #DBDE82 #E9EBB3

Accessibility & contrast

On white

1.64
#CDD152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#CDD152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD152
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD152#FFFFFF#000000##000000
##CDD1521.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#DAC5B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd152;
/* rgb */ color: rgb(205, 209, 82);
/* oklch */ color: oklch(83.4% 0.148 110.9);
Tailwind
colors: {
  custom: {
    50: '#dfde88',
    500: '#cdd152',
    950: '#000000',
  },
}
SCSS
$custom: #cdd152;
$custom-light: #dfde88;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd152",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 61.89,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83357,
    "c": 0.14833,
    "h": 110.9
  },
  "luminance": 0.59189
}

Semantic roles & 50–950 ramp

primary
#CDD152
secondary
#3E3B8C
accent
#47E14B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD152

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

Preview Lab → · Contrast checker → · Palette generator →

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