#CDCD75#CDCD75

#CDCD75 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.111 H 108.6°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CDCD75
RGBrgb(205, 205, 117)
HSLhsl(60, 47%, 63%)
HSVhsv(60, 43%, 80%)
CMYKcmyk(0%, 0%, 42.9%, 19.6%)
CIE-LABlab(80.70, -12.58, 43.67)
CIE-LCHlch(80.70, 45.44, 106.08°)
OKLaboklab(82.92% -0.0354 0.1052)
OKLCHoklch(82.92% 0.111 108.6)
XYZxyz(50.2199, 57.9272, 25.3618)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD75 #7575CD
analogous
#CDA175 #CDCD75 #A1CD75
triadic
#CDCD75 #75CDCD #CD75CD
tetradic
#CDCD75 #75CDA1 #7575CD #CD75A1
square
#CDCD75 #75CDA1 #7575CD #CD75A1
split-complementary
#CDCD75 #75A1CD #A175CD
monochromatic
#939335 #BDBD48 #CDCD75 #DDDDA2 #EEEECF

Accessibility & contrast

On white

1.67
#CDCD75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#CDCD75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD75
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD75#FFFFFF#000000##000000
##CDCD751.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC66E
Deuteranopia (green-blind)
#DBCA79
Tritanopia (blue-blind)
#D8C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd75;
/* rgb */ color: rgb(205, 205, 117);
/* oklch */ color: oklch(82.9% 0.111 108.6);
Tailwind
colors: {
  custom: {
    50: '#dedc9e',
    500: '#cdcd75',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd75;
$custom-light: #dedc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd75",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 117
  },
  "hsl": {
    "h": 60,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82921,
    "c": 0.11096,
    "h": 108.6
  },
  "luminance": 0.57926
}

Semantic roles & 50–950 ramp

primary
#CDCD75
secondary
#4D4D99
accent
#2BBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCD75

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

Preview Lab → · Contrast checker → · Palette generator →

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