#CDC456#CDC456

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

Color values

HEX#CDC456
RGBrgb(205, 196, 86)
HSLhsl(55, 54%, 57%)
HSVhsv(55, 58%, 80%)
CMYKcmyk(0%, 4.4%, 58%, 19.6%)
CIE-LABlab(77.95, -10.71, 55.14)
CIE-LCHlch(77.95, 56.17, 101.00°)
OKLaboklab(80.62% -0.0332 0.1273)
OKLCHoklch(80.62% 0.132 104.6)
XYZxyz(46.5980, 53.1325, 16.6033)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC456 #565FCD
analogous
#CD8956 #CDC456 #9BCD56
triadic
#CDC456 #56CDC4 #C456CD
tetradic
#CDC456 #56CD89 #565FCD #CD569B
square
#CDC456 #56CD89 #565FCD #CD569B
split-complementary
#CDC456 #569BCD #8956CD
monochromatic
#827B26 #B1A834 #CDC456 #DBD485 #E9E5B4

Accessibility & contrast

On white

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

On black

11.63
#CDC456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC456
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC456#FFFFFF#000000##000000
##CDC4561.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc456;
/* rgb */ color: rgb(205, 196, 86);
/* oklch */ color: oklch(80.6% 0.132 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd58a',
    500: '#cdc456',
    950: '#000000',
  },
}
SCSS
$custom: #cdc456;
$custom-light: #dfd58a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc456",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 55.462,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80624,
    "c": 0.13159,
    "h": 104.6
  },
  "luminance": 0.53131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC456

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

Preview Lab → · Contrast checker → · Palette generator →

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