#CDC475#CDC475

#CDC475 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.101 H 102.7°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CDC475
RGBrgb(205, 196, 117)
HSLhsl(54, 47%, 63%)
HSVhsv(54, 43%, 80%)
CMYKcmyk(0%, 4.4%, 42.9%, 19.6%)
CIE-LABlab(78.31, -7.99, 40.69)
CIE-LCHlch(78.31, 41.47, 101.11°)
OKLaboklab(81.03% -0.0222 0.0985)
OKLCHoklch(81.03% 0.101 102.7)
XYZxyz(48.1287, 53.7447, 24.6647)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC475 #757ECD
analogous
#CD9875 #CDC475 #AACD75
triadic
#CDC475 #75CDC4 #C475CD
tetradic
#CDC475 #75CD98 #757ECD #CD75AA
square
#CDC475 #75CD98 #757ECD #CD75AA
split-complementary
#CDC475 #75AACD #9875CD
monochromatic
#938935 #BDB148 #CDC475 #DDD7A2 #EEEACF

Accessibility & contrast

On white

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

On black

11.75
#CDC475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC475
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC475#FFFFFF#000000##000000
##CDC4751.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6F
Deuteranopia (green-blind)
#D4C478
Tritanopia (blue-blind)
#D9BAB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc475;
/* rgb */ color: rgb(205, 196, 117);
/* oklch */ color: oklch(81.0% 0.101 102.7);
Tailwind
colors: {
  custom: {
    50: '#ded59e',
    500: '#cdc475',
    950: '#000000',
  },
}
SCSS
$custom: #cdc475;
$custom-light: #ded59e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc475",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 117
  },
  "hsl": {
    "h": 53.864,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81026,
    "c": 0.10096,
    "h": 102.7
  },
  "luminance": 0.53743
}

Semantic roles & 50–950 ramp

primary
#CDC475
secondary
#4D5599
accent
#3ABA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC475

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

Preview Lab → · Contrast checker → · Palette generator →

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