#CDC68C#CDC68C

#CDC68C is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.077 H 102.1°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CDC68C
RGBrgb(205, 198, 140)
HSLhsl(54, 39%, 68%)
HSVhsv(54, 32%, 80%)
CMYKcmyk(0%, 3.4%, 31.7%, 19.6%)
CIE-LABlab(79.19, -6.40, 30.01)
CIE-LCHlch(79.19, 30.68, 102.04°)
OKLaboklab(81.84% -0.016 0.0748)
OKLCHoklch(81.84% 0.077 102.1)
XYZxyz(50.1050, 55.2618, 32.8330)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC68C #8C93CD
analogous
#CDA58C #CDC68C #B4CD8C
triadic
#CDC68C #8CCDC6 #C68CCD
tetradic
#CDC68C #8CCDA5 #8C93CD #CD8CB4
square
#CDC68C #8CCDA5 #8C93CD #CD8CB4
split-complementary
#CDC68C #8CB4CD #A58CCD
monochromatic
#9B9243 #BAB161 #CDC68C #E0DBB7 #F2F0E1

Accessibility & contrast

On white

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

On black

12.05
#CDC68C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC68C
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC68C#FFFFFF#000000##000000
##CDC68C1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C288
Deuteranopia (green-blind)
#D3C68E
Tritanopia (blue-blind)
#D7BEB7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc68c;
/* rgb */ color: rgb(205, 198, 140);
/* oklch */ color: oklch(81.8% 0.077 102.1);
Tailwind
colors: {
  custom: {
    50: '#ddd7ae',
    500: '#cdc68c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc68c;
$custom-light: #ddd7ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc68c",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 140
  },
  "hsl": {
    "h": 53.538,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.81838,
    "c": 0.07653,
    "h": 102.1
  },
  "luminance": 0.55261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC68C

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

Preview Lab → · Contrast checker → · Palette generator →

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