#CDC676#CDC676

#CDC676 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.102 H 104.1°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CDC676
RGBrgb(205, 198, 118)
HSLhsl(55, 47%, 63%)
HSVhsv(55, 42%, 80%)
CMYKcmyk(0%, 3.4%, 42.4%, 19.6%)
CIE-LABlab(78.85, -8.92, 40.87)
CIE-LCHlch(78.85, 41.83, 102.31°)
OKLaboklab(81.46% -0.0248 0.099)
OKLCHoklch(81.46% 0.102 104.1)
XYZxyz(48.6419, 54.6766, 25.1273)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC676 #767DCD
analogous
#CD9A76 #CDC676 #A8CD76
triadic
#CDC676 #76CDC6 #C676CD
tetradic
#CDC676 #76CD9A #767DCD #CD76A8
square
#CDC676 #76CD9A #767DCD #CD76A8
split-complementary
#CDC676 #76A8CD #9A76CD
monochromatic
#938B36 #BDB349 #CDC676 #DDD9A3 #EEEBD0

Accessibility & contrast

On white

1.76
#CDC676 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CDC676 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC676
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC676#FFFFFF#000000##000000
##CDC6761.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C170
Deuteranopia (green-blind)
#D6C579
Tritanopia (blue-blind)
#D9BCB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc676;
/* rgb */ color: rgb(205, 198, 118);
/* oklch */ color: oklch(81.5% 0.102 104.1);
Tailwind
colors: {
  custom: {
    50: '#ded79f',
    500: '#cdc676',
    950: '#000000',
  },
}
SCSS
$custom: #cdc676;
$custom-light: #ded79f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc676",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 118
  },
  "hsl": {
    "h": 55.172,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81461,
    "c": 0.102,
    "h": 104.1
  },
  "luminance": 0.54675
}

Semantic roles & 50–950 ramp

primary
#CDC676
secondary
#4E5499
accent
#37BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC676

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

Preview Lab → · Contrast checker → · Palette generator →

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