#CDC455#CDC455

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

Color values

HEX#CDC455
RGBrgb(205, 196, 85)
HSLhsl(56, 55%, 57%)
HSVhsv(56, 59%, 80%)
CMYKcmyk(0%, 4.4%, 58.5%, 19.6%)
CIE-LABlab(77.94, -10.79, 55.58)
CIE-LCHlch(77.94, 56.61, 100.98°)
OKLaboklab(80.61% -0.0335 0.1281)
OKLCHoklch(80.61% 0.132 104.7)
XYZxyz(46.5580, 53.1165, 16.3926)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC455 #555ECD
analogous
#CD8855 #CDC455 #9ACD55
triadic
#CDC455 #55CDC4 #C455CD
tetradic
#CDC455 #55CD88 #555ECD #CD559A
square
#CDC455 #55CD88 #555ECD #CD559A
split-complementary
#CDC455 #559ACD #8855CD
monochromatic
#827B26 #B1A734 #CDC455 #DBD484 #E9E5B4

Accessibility & contrast

On white

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

On black

11.62
#CDC455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC455
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC455#FFFFFF#000000##000000
##CDC4551.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc455;
/* rgb */ color: rgb(205, 196, 85);
/* oklch */ color: oklch(80.6% 0.132 104.7);
Tailwind
colors: {
  custom: {
    50: '#dfd589',
    500: '#cdc455',
    950: '#000000',
  },
}
SCSS
$custom: #cdc455;
$custom-light: #dfd589;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc455",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 85
  },
  "hsl": {
    "h": 55.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80614,
    "c": 0.13245,
    "h": 104.7
  },
  "luminance": 0.53115
}

Semantic roles & 50–950 ramp

primary
#CDC455
secondary
#3D4389
accent
#55DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC455

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

Preview Lab → · Contrast checker → · Palette generator →

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