#CDC68D#CDC68D

#CDC68D is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.075 H 102.0°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CDC68D
RGBrgb(205, 198, 141)
HSLhsl(53, 39%, 68%)
HSVhsv(53, 31%, 80%)
CMYKcmyk(0%, 3.4%, 31.2%, 19.6%)
CIE-LABlab(79.21, -6.27, 29.51)
CIE-LCHlch(79.21, 30.17, 102.00°)
OKLaboklab(81.86% -0.0156 0.0737)
OKLCHoklch(81.86% 0.075 102)
XYZxyz(50.1791, 55.2915, 33.2231)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC68D #8D94CD
analogous
#CDA68D #CDC68D #B4CD8D
triadic
#CDC68D #8DCDC6 #C68DCD
tetradic
#CDC68D #8DCDA6 #8D94CD #CD8DB4
square
#CDC68D #8DCDA6 #8D94CD #CD8DB4
split-complementary
#CDC68D #8DB4CD #A68DCD
monochromatic
#9B9244 #BAB162 #CDC68D #E0DBB8 #F2F1E2

Accessibility & contrast

On white

1.74
#CDC68D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CDC68D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC68D
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC68D#FFFFFF#000000##000000
##CDC68D1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C289
Deuteranopia (green-blind)
#D3C68F
Tritanopia (blue-blind)
#D6BEB7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc68d;
/* rgb */ color: rgb(205, 198, 141);
/* oklch */ color: oklch(81.9% 0.075 102.0);
Tailwind
colors: {
  custom: {
    50: '#ddd7ae',
    500: '#cdc68d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc68d;
$custom-light: #ddd7ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc68d",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 141
  },
  "hsl": {
    "h": 53.438,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.81857,
    "c": 0.07531,
    "h": 102
  },
  "luminance": 0.5529
}

Semantic roles & 50–950 ramp

primary
#CDC68D
secondary
#5C64A2
accent
#41B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC68D

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

Preview Lab → · Contrast checker → · Palette generator →

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