#CDC66A#CDC66A

#CDC66A is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.115 H 104.8°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CDC66A
RGBrgb(205, 198, 106)
HSLhsl(56, 50%, 61%)
HSVhsv(56, 48%, 80%)
CMYKcmyk(0%, 3.4%, 48.3%, 19.6%)
CIE-LABlab(78.70, -10.09, 46.62)
CIE-LCHlch(78.70, 47.70, 102.21°)
OKLaboklab(81.29% -0.0293 0.1109)
OKLCHoklch(81.29% 0.115 104.8)
XYZxyz(47.9736, 54.4093, 21.6078)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC66A #6A71CD
analogous
#CD946A #CDC66A #A2CD6A
triadic
#CDC66A #6ACDC6 #C66ACD
tetradic
#CDC66A #6ACD94 #6A71CD #CD6AA2
square
#CDC66A #6ACD94 #6A71CD #CD6AA2
split-complementary
#CDC66A #6AA2CD #946ACD
monochromatic
#8D872F #BBB23F #CDC66A #DCD898 #ECE9C6

Accessibility & contrast

On white

1.77
#CDC66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CDC66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC66A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC66A#FFFFFF#000000##000000
##CDC66A1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C062
Deuteranopia (green-blind)
#D7C56E
Tritanopia (blue-blind)
#D9BBB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc66a;
/* rgb */ color: rgb(205, 198, 106);
/* oklch */ color: oklch(81.3% 0.115 104.8);
Tailwind
colors: {
  custom: {
    50: '#ded797',
    500: '#cdc66a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc66a;
$custom-light: #ded797;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc66a",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 106
  },
  "hsl": {
    "h": 55.758,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81288,
    "c": 0.11472,
    "h": 104.8
  },
  "luminance": 0.54408
}

Semantic roles & 50–950 ramp

primary
#CDC66A
secondary
#474D94
accent
#33BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC66A

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

Preview Lab → · Contrast checker → · Palette generator →

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