#CDC66E#CDC66E

#CDC66E is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.111 H 104.6°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CDC66E
RGBrgb(205, 198, 110)
HSLhsl(56, 49%, 62%)
HSVhsv(56, 46%, 80%)
CMYKcmyk(0%, 3.4%, 46.3%, 19.6%)
CIE-LABlab(78.75, -9.71, 44.72)
CIE-LCHlch(78.75, 45.76, 102.26°)
OKLaboklab(81.34% -0.0278 0.107)
OKLCHoklch(81.34% 0.111 104.6)
XYZxyz(48.1865, 54.4945, 22.7290)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC66E #6E75CD
analogous
#CD976E #CDC66E #A5CD6E
triadic
#CDC66E #6ECDC6 #C66ECD
tetradic
#CDC66E #6ECD97 #6E75CD #CD6EA5
square
#CDC66E #6ECD97 #6E75CD #CD6EA5
split-complementary
#CDC66E #6EA5CD #976ECD
monochromatic
#8F8831 #BDB441 #CDC66E #DDD89C #ECEAC9

Accessibility & contrast

On white

1.76
#CDC66E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CDC66E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC66E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC66E#FFFFFF#000000##000000
##CDC66E1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc66e;
/* rgb */ color: rgb(205, 198, 110);
/* oklch */ color: oklch(81.3% 0.111 104.6);
Tailwind
colors: {
  custom: {
    50: '#ded799',
    500: '#cdc66e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc66e;
$custom-light: #ded799;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc66e",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 110
  },
  "hsl": {
    "h": 55.579,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81343,
    "c": 0.11058,
    "h": 104.6
  },
  "luminance": 0.54493
}

Semantic roles & 50–950 ramp

primary
#CDC66E
secondary
#4A4F96
accent
#34BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC66E

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

Preview Lab → · Contrast checker → · Palette generator →

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