#CDCB52#CDCB52

#CDCB52 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.142 H 108.3°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CDCB52
RGBrgb(205, 203, 82)
HSLhsl(59, 55%, 56%)
HSVhsv(59, 60%, 80%)
CMYKcmyk(0%, 1%, 60%, 19.6%)
CIE-LABlab(79.79, -14.54, 58.91)
CIE-LCHlch(79.79, 60.68, 103.86°)
OKLaboklab(82.07% -0.0445 0.1349)
OKLCHoklch(82.07% 0.142 108.3)
XYZxyz(48.0573, 56.3016, 16.3168)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB52 #5254CD
analogous
#CD8E52 #CDCB52 #92CD52
triadic
#CDCB52 #52CDCB #CB52CD
tetradic
#CDCB52 #52CD8E #5254CD #CD5292
square
#CDCB52 #52CD8E #5254CD #CD5292
split-complementary
#CDCB52 #5292CD #8E52CD
monochromatic
#807E25 #AFAD33 #CDCB52 #DBD981 #E8E8B1

Accessibility & contrast

On white

1.71
#CDCB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#CDCB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB52
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB52#FFFFFF#000000##000000
##CDCB521.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DCC859
Tritanopia (blue-blind)
#DBBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb52;
/* rgb */ color: rgb(205, 203, 82);
/* oklch */ color: oklch(82.1% 0.142 108.3);
Tailwind
colors: {
  custom: {
    50: '#dfda88',
    500: '#cdcb52',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb52;
$custom-light: #dfda88;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb52",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 59.024,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82072,
    "c": 0.14201,
    "h": 108.3
  },
  "luminance": 0.563
}

Semantic roles & 50–950 ramp

primary
#CDCB52
secondary
#3C3D87
accent
#4CDE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDCB52

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

Preview Lab → · Contrast checker → · Palette generator →

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