#CDC571#CDC571

#CDC571 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.106 H 103.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CDC571
RGBrgb(205, 197, 113)
HSLhsl(55, 48%, 62%)
HSVhsv(55, 45%, 80%)
CMYKcmyk(0%, 3.9%, 44.9%, 19.6%)
CIE-LABlab(78.52, -8.91, 42.96)
CIE-LCHlch(78.52, 43.87, 101.72°)
OKLaboklab(81.18% -0.0252 0.1033)
OKLCHoklch(81.18% 0.106 103.7)
XYZxyz(48.1248, 54.1053, 23.5279)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC571 #7179CD
analogous
#CD9771 #CDC571 #A7CD71
triadic
#CDC571 #71CDC5 #C571CD
tetradic
#CDC571 #71CD97 #7179CD #CD71A7
square
#CDC571 #71CD97 #7179CD #CD71A7
split-complementary
#CDC571 #71A7CD #9771CD
monochromatic
#918933 #BDB344 #CDC571 #DDD79E #EDEACC

Accessibility & contrast

On white

1.78
#CDC571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CDC571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC571
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC571#FFFFFF#000000##000000
##CDC5711.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06A
Deuteranopia (green-blind)
#D5C475
Tritanopia (blue-blind)
#D9BBB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc571;
/* rgb */ color: rgb(205, 197, 113);
/* oklch */ color: oklch(81.2% 0.106 103.7);
Tailwind
colors: {
  custom: {
    50: '#ded69b',
    500: '#cdc571',
    950: '#000000',
  },
}
SCSS
$custom: #cdc571;
$custom-light: #ded69b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc571",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 113
  },
  "hsl": {
    "h": 54.783,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81176,
    "c": 0.10635,
    "h": 103.7
  },
  "luminance": 0.54104
}

Semantic roles & 50–950 ramp

primary
#CDC571
secondary
#4B5297
accent
#37BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC571

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

Preview Lab → · Contrast checker → · Palette generator →

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