#CDC76A#CDC76A

#CDC76A is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.116 H 105.4°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CDC76A
RGBrgb(205, 199, 106)
HSLhsl(56, 50%, 61%)
HSVhsv(56, 48%, 80%)
CMYKcmyk(0%, 2.9%, 48.3%, 19.6%)
CIE-LABlab(78.97, -10.60, 46.94)
CIE-LCHlch(78.97, 48.12, 102.73°)
OKLaboklab(81.5% -0.0307 0.1116)
OKLCHoklch(81.5% 0.116 105.4)
XYZxyz(48.2030, 54.8680, 21.6843)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC76A #6A70CD
analogous
#CD956A #CDC76A #A1CD6A
triadic
#CDC76A #6ACDC7 #C76ACD
tetradic
#CDC76A #6ACD95 #6A70CD #CD6AA1
square
#CDC76A #6ACD95 #6A70CD #CD6AA1
split-complementary
#CDC76A #6AA1CD #956ACD
monochromatic
#8D882F #BBB43F #CDC76A #DCD898 #ECE9C6

Accessibility & contrast

On white

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

On black

11.97
#CDC76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC76A
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC76A#FFFFFF#000000##000000
##CDC76A1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C162
Deuteranopia (green-blind)
#D7C66E
Tritanopia (blue-blind)
#D9BCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc76a;
/* rgb */ color: rgb(205, 199, 106);
/* oklch */ color: oklch(81.5% 0.116 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded797',
    500: '#cdc76a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc76a;
$custom-light: #ded797;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc76a",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 106
  },
  "hsl": {
    "h": 56.364,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81498,
    "c": 0.11577,
    "h": 105.4
  },
  "luminance": 0.54867
}

Semantic roles & 50–950 ramp

primary
#CDC76A
secondary
#474C94
accent
#31BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC76A

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

Preview Lab → · Contrast checker → · Palette generator →

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