#CDC055#CDC055

#CDC055 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.129 H 102.4°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CDC055
RGBrgb(205, 192, 85)
HSLhsl(54, 55%, 57%)
HSVhsv(54, 59%, 80%)
CMYKcmyk(0%, 6.3%, 58.5%, 19.6%)
CIE-LABlab(76.88, -8.74, 54.39)
CIE-LCHlch(76.88, 55.09, 99.13°)
OKLaboklab(79.77% -0.0277 0.1256)
OKLCHoklch(79.77% 0.129 102.4)
XYZxyz(45.6678, 51.3360, 16.0958)
Luminance0.5133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC055 #5562CD
analogous
#CD8455 #CDC055 #9ECD55
triadic
#CDC055 #55CDC0 #C055CD
tetradic
#CDC055 #55CD84 #5562CD #CD559E
square
#CDC055 #55CD84 #5562CD #CD559E
split-complementary
#CDC055 #559ECD #8455CD
monochromatic
#827826 #B1A334 #CDC055 #DBD284 #E9E3B4

Accessibility & contrast

On white

1.86
#CDC055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#CDC055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC055
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC055#FFFFFF#000000##000000
##CDC0551.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA4A
Deuteranopia (green-blind)
#D4C05B
Tritanopia (blue-blind)
#DBB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc055;
/* rgb */ color: rgb(205, 192, 85);
/* oklch */ color: oklch(79.8% 0.129 102.4);
Tailwind
colors: {
  custom: {
    50: '#dfd289',
    500: '#cdc055',
    950: '#000000',
  },
}
SCSS
$custom: #cdc055;
$custom-light: #dfd289;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc055",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 85
  },
  "hsl": {
    "h": 53.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7977,
    "c": 0.12862,
    "h": 102.4
  },
  "luminance": 0.51334
}

Semantic roles & 50–950 ramp

primary
#CDC055
secondary
#3D4589
accent
#5ADE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC055

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

Preview Lab → · Contrast checker → · Palette generator →

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