#CDC554#CDC554

#CDC554 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.134 H 105.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CDC554
RGBrgb(205, 197, 84)
HSLhsl(56, 55%, 57%)
HSVhsv(56, 59%, 80%)
CMYKcmyk(0%, 3.9%, 59%, 19.6%)
CIE-LABlab(78.20, -11.37, 56.31)
CIE-LCHlch(78.20, 57.44, 101.41°)
OKLaboklab(80.82% -0.0353 0.1296)
OKLCHoklch(80.82% 0.134 105.2)
XYZxyz(46.7449, 53.5533, 16.2603)
Luminance0.5355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC554 #545CCD
analogous
#CD8954 #CDC554 #99CD54
triadic
#CDC554 #54CDC5 #C554CD
tetradic
#CDC554 #54CD89 #545CCD #CD5499
square
#CDC554 #54CD89 #545CCD #CD5499
split-complementary
#CDC554 #5499CD #8954CD
monochromatic
#817B26 #B0A834 #CDC554 #DBD583 #E9E5B3

Accessibility & contrast

On white

1.79
#CDC554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CDC554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC554
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC554#FFFFFF#000000##000000
##CDC5541.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE48
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#DBB9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc554;
/* rgb */ color: rgb(205, 197, 84);
/* oklch */ color: oklch(80.8% 0.134 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfd688',
    500: '#cdc554',
    950: '#000000',
  },
}
SCSS
$custom: #cdc554;
$custom-light: #dfd688;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc554",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 84
  },
  "hsl": {
    "h": 56.033,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80815,
    "c": 0.13429,
    "h": 105.2
  },
  "luminance": 0.53552
}

Semantic roles & 50–950 ramp

primary
#CDC554
secondary
#3D4288
accent
#54DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC554

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

Preview Lab → · Contrast checker → · Palette generator →

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