#CDC168#CDC168

#CDC168 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.112 H 101.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CDC168
RGBrgb(205, 193, 104)
HSLhsl(53, 50%, 61%)
HSVhsv(53, 49%, 80%)
CMYKcmyk(0%, 5.9%, 49.3%, 19.6%)
CIE-LABlab(77.35, -7.71, 45.97)
CIE-LCHlch(77.35, 46.61, 99.52°)
OKLaboklab(80.21% -0.0226 0.1093)
OKLCHoklch(80.21% 0.112 101.7)
XYZxyz(46.7468, 52.1201, 20.6918)
Luminance0.5212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC168 #6874CD
analogous
#CD8E68 #CDC168 #A7CD68
triadic
#CDC168 #68CDC1 #C168CD
tetradic
#CDC168 #68CD8E #6874CD #CD68A7
square
#CDC168 #68CD8E #6874CD #CD68A7
split-complementary
#CDC168 #68A7CD #8E68CD
monochromatic
#8C812E #BAAB3E #CDC168 #DCD496 #EBE7C4

Accessibility & contrast

On white

1.84
#CDC168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CDC168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC168
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC168#FFFFFF#000000##000000
##CDC1681.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC60
Deuteranopia (green-blind)
#D3C16C
Tritanopia (blue-blind)
#DAB6AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc168;
/* rgb */ color: rgb(205, 193, 104);
/* oklch */ color: oklch(80.2% 0.112 101.7);
Tailwind
colors: {
  custom: {
    50: '#ded395',
    500: '#cdc168',
    950: '#000000',
  },
}
SCSS
$custom: #cdc168;
$custom-light: #ded395;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc168",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 104
  },
  "hsl": {
    "h": 52.871,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8021,
    "c": 0.11164,
    "h": 101.7
  },
  "luminance": 0.52119
}

Semantic roles & 50–950 ramp

primary
#CDC168
secondary
#464F93
accent
#3ABE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC168

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

Preview Lab → · Contrast checker → · Palette generator →

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