#CDC667#CDC667

#CDC667 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.118 H 104.9°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CDC667
RGBrgb(205, 198, 103)
HSLhsl(56, 50%, 60%)
HSVhsv(56, 50%, 80%)
CMYKcmyk(0%, 3.4%, 49.8%, 19.6%)
CIE-LABlab(78.66, -10.36, 48.03)
CIE-LCHlch(78.66, 49.13, 102.17°)
OKLaboklab(81.25% -0.0303 0.1138)
OKLCHoklch(81.25% 0.118 104.9)
XYZxyz(47.8203, 54.3480, 20.8005)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC667 #676ECD
analogous
#CD9367 #CDC667 #A1CD67
triadic
#CDC667 #67CDC6 #C667CD
tetradic
#CDC667 #67CD93 #676ECD #CD67A1
square
#CDC667 #67CD93 #676ECD #CD67A1
split-complementary
#CDC667 #67A1CD #9367CD
monochromatic
#8C852E #BAB13D #CDC667 #DCD795 #EBE9C3

Accessibility & contrast

On white

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

On black

11.87
#CDC667 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC667
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC667#FFFFFF#000000##000000
##CDC6671.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05E
Deuteranopia (green-blind)
#D7C56B
Tritanopia (blue-blind)
#DABBB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc667;
/* rgb */ color: rgb(205, 198, 103);
/* oklch */ color: oklch(81.2% 0.118 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded795',
    500: '#cdc667',
    950: '#000000',
  },
}
SCSS
$custom: #cdc667;
$custom-light: #ded795;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc667",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 103
  },
  "hsl": {
    "h": 55.882,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81248,
    "c": 0.11774,
    "h": 104.9
  },
  "luminance": 0.54347
}

Semantic roles & 50–950 ramp

primary
#CDC667
secondary
#464B92
accent
#32BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC667

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

Preview Lab → · Contrast checker → · Palette generator →

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