#CDC975#CDC975

#CDC975 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.106 H 106.1°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CDC975
RGBrgb(205, 201, 117)
HSLhsl(57, 47%, 63%)
HSVhsv(57, 43%, 80%)
CMYKcmyk(0%, 2%, 42.9%, 19.6%)
CIE-LABlab(79.64, -10.55, 42.34)
CIE-LCHlch(79.64, 43.64, 104.00°)
OKLaboklab(82.08% -0.0296 0.1022)
OKLCHoklch(82.08% 0.106 106.1)
XYZxyz(49.2753, 56.0380, 25.0469)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC975 #7579CD
analogous
#CD9D75 #CDC975 #A5CD75
triadic
#CDC975 #75CDC9 #C975CD
tetradic
#CDC975 #75CD9D #7579CD #CD75A5
square
#CDC975 #75CD9D #7579CD #CD75A5
split-complementary
#CDC975 #75A5CD #9D75CD
monochromatic
#938E35 #BDB748 #CDC975 #DDDBA2 #EEECCF

Accessibility & contrast

On white

1.72
#CDC975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#CDC975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC975
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC975#FFFFFF#000000##000000
##CDC9751.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36E
Deuteranopia (green-blind)
#D8C779
Tritanopia (blue-blind)
#D8BFB5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc975;
/* rgb */ color: rgb(205, 201, 117);
/* oklch */ color: oklch(82.1% 0.106 106.1);
Tailwind
colors: {
  custom: {
    50: '#ded99e',
    500: '#cdc975',
    950: '#000000',
  },
}
SCSS
$custom: #cdc975;
$custom-light: #ded99e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc975",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 117
  },
  "hsl": {
    "h": 57.273,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82076,
    "c": 0.1064,
    "h": 106.1
  },
  "luminance": 0.56037
}

Semantic roles & 50–950 ramp

primary
#CDC975
secondary
#4D5199
accent
#32BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC975

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

Preview Lab → · Contrast checker → · Palette generator →

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