#CDC452#CDC452

#CDC452 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.135 H 104.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CDC452
RGBrgb(205, 196, 82)
HSLhsl(56, 55%, 56%)
HSVhsv(56, 60%, 80%)
CMYKcmyk(0%, 4.4%, 60%, 19.6%)
CIE-LABlab(77.92, -11.00, 56.87)
CIE-LCHlch(77.92, 57.93, 100.94°)
OKLaboklab(80.58% -0.0344 0.1305)
OKLCHoklch(80.58% 0.135 104.8)
XYZxyz(46.4414, 53.0698, 15.7782)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC452 #525BCD
analogous
#CD8752 #CDC452 #99CD52
triadic
#CDC452 #52CDC4 #C452CD
tetradic
#CDC452 #52CD87 #525BCD #CD5299
square
#CDC452 #52CD87 #525BCD #CD5299
split-complementary
#CDC452 #5299CD #8752CD
monochromatic
#807925 #AFA633 #CDC452 #DBD481 #E8E4B1

Accessibility & contrast

On white

1.81
#CDC452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CDC452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC452
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC452#FFFFFF#000000##000000
##CDC4521.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#DBB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc452;
/* rgb */ color: rgb(205, 196, 82);
/* oklch */ color: oklch(80.6% 0.135 104.8);
Tailwind
colors: {
  custom: {
    50: '#dfd587',
    500: '#cdc452',
    950: '#000000',
  },
}
SCSS
$custom: #cdc452;
$custom-light: #dfd587;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc452",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 55.61,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80583,
    "c": 0.13499,
    "h": 104.8
  },
  "luminance": 0.53068
}

Semantic roles & 50–950 ramp

primary
#CDC452
secondary
#3C4187
accent
#54DE49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC452

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

Preview Lab → · Contrast checker → · Palette generator →

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