#CDC570#CDC570

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

Color values

HEX#CDC570
RGBrgb(205, 197, 112)
HSLhsl(55, 48%, 62%)
HSVhsv(55, 45%, 80%)
CMYKcmyk(0%, 3.9%, 45.4%, 19.6%)
CIE-LABlab(78.51, -9.01, 43.44)
CIE-LCHlch(78.51, 44.36, 101.72°)
OKLaboklab(81.16% -0.0256 0.1043)
OKLCHoklch(81.16% 0.107 103.8)
XYZxyz(48.0688, 54.0829, 23.2330)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC570 #7078CD
analogous
#CD9770 #CDC570 #A6CD70
triadic
#CDC570 #70CDC5 #C570CD
tetradic
#CDC570 #70CD97 #7078CD #CD70A6
square
#CDC570 #70CD97 #7078CD #CD70A6
split-complementary
#CDC570 #70A6CD #9770CD
monochromatic
#908832 #BDB343 #CDC570 #DDD79D #EDEACB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC570#FFFFFF#000000##000000
##CDC5701.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)
#D2C069
Deuteranopia (green-blind)
#D5C474
Tritanopia (blue-blind)
#D9BBB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc570;
/* rgb */ color: rgb(205, 197, 112);
/* oklch */ color: oklch(81.2% 0.107 103.8);
Tailwind
colors: {
  custom: {
    50: '#ded69b',
    500: '#cdc570',
    950: '#000000',
  },
}
SCSS
$custom: #cdc570;
$custom-light: #ded69b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc570",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 112
  },
  "hsl": {
    "h": 54.839,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81161,
    "c": 0.10741,
    "h": 103.8
  },
  "luminance": 0.54081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC570

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

Preview Lab → · Contrast checker → · Palette generator →

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