#CDC76F#CDC76F

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

Color values

HEX#CDC76F
RGBrgb(205, 199, 111)
HSLhsl(56, 48%, 62%)
HSVhsv(56, 46%, 80%)
CMYKcmyk(0%, 2.9%, 45.9%, 19.6%)
CIE-LABlab(79.03, -10.13, 44.57)
CIE-LCHlch(79.03, 45.70, 102.80°)
OKLaboklab(81.57% -0.0289 0.1068)
OKLCHoklch(81.57% 0.111 105.1)
XYZxyz(48.4706, 54.9750, 23.0938)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC76F #6F75CD
analogous
#CD986F #CDC76F #A4CD6F
triadic
#CDC76F #6FCDC7 #C76FCD
tetradic
#CDC76F #6FCD98 #6F75CD #CD6FA4
square
#CDC76F #6FCD98 #6F75CD #CD6FA4
split-complementary
#CDC76F #6FA4CD #986FCD
monochromatic
#908A32 #BDB542 #CDC76F #DDD99C #EDEACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC76F#FFFFFF#000000##000000
##CDC76F1.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)
#D4C168
Deuteranopia (green-blind)
#D7C673
Tritanopia (blue-blind)
#D9BDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc76f;
/* rgb */ color: rgb(205, 199, 111);
/* oklch */ color: oklch(81.6% 0.111 105.1);
Tailwind
colors: {
  custom: {
    50: '#ded79a',
    500: '#cdc76f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc76f;
$custom-light: #ded79a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc76f",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 111
  },
  "hsl": {
    "h": 56.17,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81567,
    "c": 0.11061,
    "h": 105.1
  },
  "luminance": 0.54974
}

Semantic roles & 50–950 ramp

primary
#CDC76F
secondary
#4A4F96
accent
#33BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC76F

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

Preview Lab → · Contrast checker → · Palette generator →

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