#CDC175#CDC175

#CDC175 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.098 H 100.4°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CDC175
RGBrgb(205, 193, 117)
HSLhsl(52, 47%, 63%)
HSVhsv(52, 43%, 80%)
CMYKcmyk(0%, 5.9%, 42.9%, 19.6%)
CIE-LABlab(77.52, -6.44, 39.70)
CIE-LCHlch(77.52, 40.22, 99.22°)
OKLaboklab(80.4% -0.0177 0.0963)
OKLCHoklch(80.4% 0.098 100.4)
XYZxyz(47.4587, 52.4049, 24.4414)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC175 #7581CD
analogous
#CD9575 #CDC175 #ADCD75
triadic
#CDC175 #75CDC1 #C175CD
tetradic
#CDC175 #75CD95 #7581CD #CD75AD
square
#CDC175 #75CD95 #7581CD #CD75AD
split-complementary
#CDC175 #75ADCD #9575CD
monochromatic
#938635 #BDAD48 #CDC175 #DDD5A2 #EEE9CF

Accessibility & contrast

On white

1.83
#CDC175 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CDC175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC175
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC175#FFFFFF#000000##000000
##CDC1751.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD6F
Deuteranopia (green-blind)
#D2C278
Tritanopia (blue-blind)
#D9B7AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc175;
/* rgb */ color: rgb(205, 193, 117);
/* oklch */ color: oklch(80.4% 0.098 100.4);
Tailwind
colors: {
  custom: {
    50: '#ded39e',
    500: '#cdc175',
    950: '#000000',
  },
}
SCSS
$custom: #cdc175;
$custom-light: #ded39e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc175",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 117
  },
  "hsl": {
    "h": 51.818,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.804,
    "c": 0.09787,
    "h": 100.4
  },
  "luminance": 0.52403
}

Semantic roles & 50–950 ramp

primary
#CDC175
secondary
#4D5899
accent
#3FBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC175

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

Preview Lab → · Contrast checker → · Palette generator →

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