#CDC755#CDC755

#CDC755 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.135 H 106.2°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CDC755
RGBrgb(205, 199, 85)
HSLhsl(57, 55%, 57%)
HSVhsv(57, 59%, 80%)
CMYKcmyk(0%, 2.9%, 58.5%, 19.6%)
CIE-LABlab(78.74, -12.31, 56.46)
CIE-LCHlch(78.74, 57.79, 102.30°)
OKLaboklab(81.25% -0.0379 0.13)
OKLCHoklch(81.25% 0.135 106.2)
XYZxyz(47.2415, 54.4834, 16.6204)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC755 #555BCD
analogous
#CD8B55 #CDC755 #97CD55
triadic
#CDC755 #55CDC7 #C755CD
tetradic
#CDC755 #55CD8B #555BCD #CD5597
square
#CDC755 #55CD8B #555BCD #CD5597
split-complementary
#CDC755 #5597CD #8B55CD
monochromatic
#827D26 #B1AB34 #CDC755 #DBD784 #E9E6B4

Accessibility & contrast

On white

1.77
#CDC755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CDC755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC755
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC755#FFFFFF#000000##000000
##CDC7551.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C049
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#DBBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc755;
/* rgb */ color: rgb(205, 199, 85);
/* oklch */ color: oklch(81.3% 0.135 106.2);
Tailwind
colors: {
  custom: {
    50: '#dfd789',
    500: '#cdc755',
    950: '#000000',
  },
}
SCSS
$custom: #cdc755;
$custom-light: #dfd789;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc755",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 57,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8125,
    "c": 0.13543,
    "h": 106.2
  },
  "luminance": 0.54482
}

Semantic roles & 50–950 ramp

primary
#CDC755
secondary
#3D4189
accent
#51DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC755

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

Preview Lab → · Contrast checker → · Palette generator →

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