#CDC075#CDC075

#CDC075 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.097 H 99.7°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CDC075
RGBrgb(205, 192, 117)
HSLhsl(51, 47%, 63%)
HSVhsv(51, 43%, 80%)
CMYKcmyk(0%, 6.3%, 42.9%, 19.6%)
CIE-LABlab(77.26, -5.93, 39.37)
CIE-LCHlch(77.26, 39.81, 98.56°)
OKLaboklab(80.19% -0.0162 0.0955)
OKLCHoklch(80.19% 0.097 99.7)
XYZxyz(47.2384, 51.9643, 24.3679)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC075 #7582CD
analogous
#CD9475 #CDC075 #AECD75
triadic
#CDC075 #75CDC0 #C075CD
tetradic
#CDC075 #75CD94 #7582CD #CD75AE
square
#CDC075 #75CD94 #7582CD #CD75AE
split-complementary
#CDC075 #75AECD #9475CD
monochromatic
#938535 #BDAB48 #CDC075 #DDD5A2 #EEE9CF

Accessibility & contrast

On white

1.84
#CDC075 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CDC075 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC075
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC075#FFFFFF#000000##000000
##CDC0751.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC6F
Deuteranopia (green-blind)
#D1C178
Tritanopia (blue-blind)
#D9B6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc075;
/* rgb */ color: rgb(205, 192, 117);
/* oklch */ color: oklch(80.2% 0.097 99.7);
Tailwind
colors: {
  custom: {
    50: '#ded29e',
    500: '#cdc075',
    950: '#000000',
  },
}
SCSS
$custom: #cdc075;
$custom-light: #ded29e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc075",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 117
  },
  "hsl": {
    "h": 51.136,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.80192,
    "c": 0.09687,
    "h": 99.7
  },
  "luminance": 0.51963
}

Semantic roles & 50–950 ramp

primary
#CDC075
secondary
#4D5999
accent
#41BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC075

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

Preview Lab → · Contrast checker → · Palette generator →

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