#CDC167#CDC167

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

Color values

HEX#CDC167
RGBrgb(205, 193, 103)
HSLhsl(53, 50%, 60%)
HSVhsv(53, 50%, 80%)
CMYKcmyk(0%, 5.9%, 49.8%, 19.6%)
CIE-LABlab(77.34, -7.80, 46.44)
CIE-LCHlch(77.34, 47.09, 99.53°)
OKLaboklab(80.2% -0.023 0.1103)
OKLCHoklch(80.2% 0.113 101.8)
XYZxyz(46.6963, 52.0999, 20.4258)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC167 #6773CD
analogous
#CD8E67 #CDC167 #A6CD67
triadic
#CDC167 #67CDC1 #C167CD
tetradic
#CDC167 #67CD8E #6773CD #CD67A6
square
#CDC167 #67CD8E #6773CD #CD67A6
split-complementary
#CDC167 #67A6CD #8E67CD
monochromatic
#8C812E #BAAB3D #CDC167 #DCD495 #EBE7C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC167#FFFFFF#000000##000000
##CDC1671.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)
#CFBC5F
Deuteranopia (green-blind)
#D3C16B
Tritanopia (blue-blind)
#DAB6AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc167;
/* rgb */ color: rgb(205, 193, 103);
/* oklch */ color: oklch(80.2% 0.113 101.8);
Tailwind
colors: {
  custom: {
    50: '#ded394',
    500: '#cdc167',
    950: '#000000',
  },
}
SCSS
$custom: #cdc167;
$custom-light: #ded394;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc167",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 103
  },
  "hsl": {
    "h": 52.941,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80197,
    "c": 0.11265,
    "h": 101.8
  },
  "luminance": 0.52098
}

Semantic roles & 50–950 ramp

primary
#CDC167
secondary
#464F92
accent
#39BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC167

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

Preview Lab → · Contrast checker → · Palette generator →

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