#CDC76E#CDC76E

#CDC76E is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.112 H 105.2°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CDC76E
RGBrgb(205, 199, 110)
HSLhsl(56, 49%, 62%)
HSVhsv(56, 46%, 80%)
CMYKcmyk(0%, 2.9%, 46.3%, 19.6%)
CIE-LABlab(79.01, -10.23, 45.04)
CIE-LCHlch(79.01, 46.19, 102.79°)
OKLaboklab(81.55% -0.0293 0.1078)
OKLCHoklch(81.55% 0.112 105.2)
XYZxyz(48.4158, 54.9531, 22.8054)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC76E #6E74CD
analogous
#CD986E #CDC76E #A3CD6E
triadic
#CDC76E #6ECDC7 #C76ECD
tetradic
#CDC76E #6ECD98 #6E74CD #CD6EA3
square
#CDC76E #6ECD98 #6E74CD #CD6EA3
split-complementary
#CDC76E #6EA3CD #986ECD
monochromatic
#8F8931 #BDB541 #CDC76E #DDD99C #ECEAC9

Accessibility & contrast

On white

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

On black

11.99
#CDC76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC76E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC76E#FFFFFF#000000##000000
##CDC76E1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C166
Deuteranopia (green-blind)
#D7C672
Tritanopia (blue-blind)
#D9BDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc76e;
/* rgb */ color: rgb(205, 199, 110);
/* oklch */ color: oklch(81.6% 0.112 105.2);
Tailwind
colors: {
  custom: {
    50: '#ded799',
    500: '#cdc76e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc76e;
$custom-light: #ded799;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc76e",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 110
  },
  "hsl": {
    "h": 56.211,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81553,
    "c": 0.11165,
    "h": 105.2
  },
  "luminance": 0.54952
}

Semantic roles & 50–950 ramp

primary
#CDC76E
secondary
#4A4E96
accent
#33BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC76E

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

Preview Lab → · Contrast checker → · Palette generator →

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