#CDC675#CDC675

#CDC675 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.103 H 104.1°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CDC675
RGBrgb(205, 198, 117)
HSLhsl(55, 47%, 63%)
HSVhsv(55, 43%, 80%)
CMYKcmyk(0%, 3.4%, 42.9%, 19.6%)
CIE-LABlab(78.84, -9.02, 41.35)
CIE-LCHlch(78.84, 42.32, 102.31°)
OKLaboklab(81.45% -0.0252 0.1)
OKLCHoklch(81.45% 0.103 104.1)
XYZxyz(48.5828, 54.6530, 24.8160)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC675 #757CCD
analogous
#CD9A75 #CDC675 #A8CD75
triadic
#CDC675 #75CDC6 #C675CD
tetradic
#CDC675 #75CD9A #757CCD #CD75A8
square
#CDC675 #75CD9A #757CCD #CD75A8
split-complementary
#CDC675 #75A8CD #9A75CD
monochromatic
#938B35 #BDB348 #CDC675 #DDD9A2 #EEEBCF

Accessibility & contrast

On white

1.76
#CDC675 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CDC675 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC675
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC675#FFFFFF#000000##000000
##CDC6751.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16F
Deuteranopia (green-blind)
#D6C578
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc675;
/* rgb */ color: rgb(205, 198, 117);
/* oklch */ color: oklch(81.4% 0.103 104.1);
Tailwind
colors: {
  custom: {
    50: '#ded79e',
    500: '#cdc675',
    950: '#000000',
  },
}
SCSS
$custom: #cdc675;
$custom-light: #ded79e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc675",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 117
  },
  "hsl": {
    "h": 55.227,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81445,
    "c": 0.1031,
    "h": 104.1
  },
  "luminance": 0.54652
}

Semantic roles & 50–950 ramp

primary
#CDC675
secondary
#4D5399
accent
#37BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC675

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

Preview Lab → · Contrast checker → · Palette generator →

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