#CDC470#CDC470

#CDC470 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.106 H 103.1°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CDC470
RGBrgb(205, 196, 112)
HSLhsl(54, 48%, 62%)
HSVhsv(54, 45%, 80%)
CMYKcmyk(0%, 4.4%, 45.4%, 19.6%)
CIE-LABlab(78.25, -8.50, 43.11)
CIE-LCHlch(78.25, 43.94, 101.15°)
OKLaboklab(80.95% -0.0241 0.1036)
OKLCHoklch(80.95% 0.106 103.1)
XYZxyz(47.8425, 53.6303, 23.1576)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC470 #7079CD
analogous
#CD9670 #CDC470 #A7CD70
triadic
#CDC470 #70CDC4 #C470CD
tetradic
#CDC470 #70CD96 #7079CD #CD70A7
square
#CDC470 #70CD96 #7079CD #CD70A7
split-complementary
#CDC470 #70A7CD #9670CD
monochromatic
#908732 #BDB143 #CDC470 #DDD79D #EDE9CB

Accessibility & contrast

On white

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

On black

11.73
#CDC470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC470
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC470#FFFFFF#000000##000000
##CDC4701.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF69
Deuteranopia (green-blind)
#D5C474
Tritanopia (blue-blind)
#D9BAB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc470;
/* rgb */ color: rgb(205, 196, 112);
/* oklch */ color: oklch(81.0% 0.106 103.1);
Tailwind
colors: {
  custom: {
    50: '#ded59a',
    500: '#cdc470',
    950: '#000000',
  },
}
SCSS
$custom: #cdc470;
$custom-light: #ded59a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc470",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 112
  },
  "hsl": {
    "h": 54.194,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80951,
    "c": 0.10637,
    "h": 103.1
  },
  "luminance": 0.53629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC470

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

Preview Lab → · Contrast checker → · Palette generator →

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