#CDC693#CDC693

#CDC693 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 82.0% C 0.068 H 101.2°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CDC693
RGBrgb(205, 198, 147)
HSLhsl(53, 37%, 69%)
HSVhsv(53, 28%, 80%)
CMYKcmyk(0%, 3.4%, 28.3%, 19.6%)
CIE-LABlab(79.31, -5.50, 26.50)
CIE-LCHlch(79.31, 27.07, 101.72°)
OKLaboklab(81.98% -0.0132 0.0667)
OKLCHoklch(81.98% 0.068 101.2)
XYZxyz(50.6377, 55.4749, 35.6383)
Luminance0.5547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC693 #939ACD
analogous
#CDA993 #CDC693 #B7CD93
triadic
#CDC693 #93CDC6 #C693CD
tetradic
#CDC693 #93CDA9 #939ACD #CD93B7
square
#CDC693 #93CDA9 #939ACD #CD93B7
split-complementary
#CDC693 #93B7CD #A993CD
monochromatic
#9D9349 #BAB069 #CDC693 #E0DCBD #F4F2E7

Accessibility & contrast

On white

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

On black

12.09
#CDC693 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC693
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC693#FFFFFF#000000##000000
##CDC6931.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C390
Deuteranopia (green-blind)
#D2C695
Tritanopia (blue-blind)
#D6BFB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc693;
/* rgb */ color: rgb(205, 198, 147);
/* oklch */ color: oklch(82.0% 0.068 101.2);
Tailwind
colors: {
  custom: {
    50: '#ddd7b3',
    500: '#cdc693',
    950: '#000000',
  },
}
SCSS
$custom: #cdc693;
$custom-light: #ddd7b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc693",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 147
  },
  "hsl": {
    "h": 52.759,
    "s": 36.709,
    "l": 69.02
  },
  "oklch": {
    "l": 0.81975,
    "c": 0.06795,
    "h": 101.2
  },
  "luminance": 0.55474
}

Semantic roles & 50–950 ramp

primary
#CDC693
secondary
#626AA2
accent
#45B036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC693

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

Preview Lab → · Contrast checker → · Palette generator →

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