#CDC775#CDC775

#CDC775 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.104 H 104.8°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CDC775
RGBrgb(205, 199, 117)
HSLhsl(56, 47%, 63%)
HSVhsv(56, 43%, 80%)
CMYKcmyk(0%, 2.9%, 42.9%, 19.6%)
CIE-LABlab(79.11, -9.53, 41.68)
CIE-LCHlch(79.11, 42.76, 102.88°)
OKLaboklab(81.66% -0.0266 0.1007)
OKLCHoklch(81.66% 0.104 104.8)
XYZxyz(48.8121, 55.1116, 24.8925)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC775 #757BCD
analogous
#CD9B75 #CDC775 #A7CD75
triadic
#CDC775 #75CDC7 #C775CD
tetradic
#CDC775 #75CD9B #757BCD #CD75A7
square
#CDC775 #75CD9B #757BCD #CD75A7
split-complementary
#CDC775 #75A7CD #9B75CD
monochromatic
#938C35 #BDB548 #CDC775 #DDD9A2 #EEEBCF

Accessibility & contrast

On white

1.75
#CDC775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CDC775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC775
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC775#FFFFFF#000000##000000
##CDC7751.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C26E
Deuteranopia (green-blind)
#D6C679
Tritanopia (blue-blind)
#D9BDB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc775;
/* rgb */ color: rgb(205, 199, 117);
/* oklch */ color: oklch(81.7% 0.104 104.8);
Tailwind
colors: {
  custom: {
    50: '#ded79e',
    500: '#cdc775',
    950: '#000000',
  },
}
SCSS
$custom: #cdc775;
$custom-light: #ded79e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc775",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 117
  },
  "hsl": {
    "h": 55.909,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81655,
    "c": 0.10419,
    "h": 104.8
  },
  "luminance": 0.5511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC775

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

Preview Lab → · Contrast checker → · Palette generator →

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