#CDCD76#CDCD76

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

Color values

HEX#CDCD76
RGBrgb(205, 205, 118)
HSLhsl(60, 47%, 63%)
HSVhsv(60, 42%, 80%)
CMYKcmyk(0%, 0%, 42.4%, 19.6%)
CIE-LABlab(80.71, -12.48, 43.19)
CIE-LCHlch(80.71, 44.95, 106.12°)
OKLaboklab(82.94% -0.035 0.1042)
OKLCHoklch(82.94% 0.11 108.6)
XYZxyz(50.2790, 57.9509, 25.6731)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD76 #7676CD
analogous
#CDA176 #CDCD76 #A1CD76
triadic
#CDCD76 #76CDCD #CD76CD
tetradic
#CDCD76 #76CDA1 #7676CD #CD76A1
square
#CDCD76 #76CDA1 #7676CD #CD76A1
split-complementary
#CDCD76 #76A1CD #A176CD
monochromatic
#939336 #BDBD49 #CDCD76 #DDDDA3 #EEEED0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCD76#FFFFFF#000000##000000
##CDCD761.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)
#DAC66F
Deuteranopia (green-blind)
#DBCA7A
Tritanopia (blue-blind)
#D8C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd76;
/* rgb */ color: rgb(205, 205, 118);
/* oklch */ color: oklch(82.9% 0.110 108.6);
Tailwind
colors: {
  custom: {
    50: '#dedc9f',
    500: '#cdcd76',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd76;
$custom-light: #dedc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd76",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 118
  },
  "hsl": {
    "h": 60,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82936,
    "c": 0.10988,
    "h": 108.6
  },
  "luminance": 0.5795
}

Semantic roles & 50–950 ramp

primary
#CDCD76
secondary
#4E4E99
accent
#2CBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCD76

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

Preview Lab → · Contrast checker → · Palette generator →

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