#CDC276#CDC276

#CDC276 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.098 H 101.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CDC276
RGBrgb(205, 194, 118)
HSLhsl(52, 47%, 63%)
HSVhsv(52, 42%, 80%)
CMYKcmyk(0%, 5.4%, 42.4%, 19.6%)
CIE-LABlab(77.80, -6.86, 39.54)
CIE-LCHlch(77.80, 40.13, 99.84°)
OKLaboklab(80.62% -0.0188 0.0959)
OKLCHoklch(80.62% 0.098 101.1)
XYZxyz(47.7397, 52.8721, 24.8266)
Luminance0.5287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC276 #7681CD
analogous
#CD9676 #CDC276 #ACCD76
triadic
#CDC276 #76CDC2 #C276CD
tetradic
#CDC276 #76CD96 #7681CD #CD76AC
square
#CDC276 #76CD96 #7681CD #CD76AC
split-complementary
#CDC276 #76ACCD #9676CD
monochromatic
#938736 #BDAE49 #CDC276 #DDD6A3 #EEEAD0

Accessibility & contrast

On white

1.81
#CDC276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CDC276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC276
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC276#FFFFFF#000000##000000
##CDC2761.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE70
Deuteranopia (green-blind)
#D2C279
Tritanopia (blue-blind)
#D9B8AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc276;
/* rgb */ color: rgb(205, 194, 118);
/* oklch */ color: oklch(80.6% 0.098 101.1);
Tailwind
colors: {
  custom: {
    50: '#ded49e',
    500: '#cdc276',
    950: '#000000',
  },
}
SCSS
$custom: #cdc276;
$custom-light: #ded49e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc276",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 118
  },
  "hsl": {
    "h": 52.414,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80624,
    "c": 0.09778,
    "h": 101.1
  },
  "luminance": 0.52871
}

Semantic roles & 50–950 ramp

primary
#CDC276
secondary
#4E5799
accent
#3EBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC276

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

Preview Lab → · Contrast checker → · Palette generator →

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