#CDC164#CDC164

#CDC164 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.116 H 102.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CDC164
RGBrgb(205, 193, 100)
HSLhsl(53, 51%, 60%)
HSVhsv(53, 51%, 80%)
CMYKcmyk(0%, 5.9%, 51.2%, 19.6%)
CIE-LABlab(77.31, -8.06, 47.85)
CIE-LCHlch(77.31, 48.53, 99.56°)
OKLaboklab(80.16% -0.0241 0.1131)
OKLCHoklch(80.16% 0.116 102)
XYZxyz(46.5484, 52.0407, 19.6470)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC164 #6470CD
analogous
#CD8D64 #CDC164 #A5CD64
triadic
#CDC164 #64CDC1 #C164CD
tetradic
#CDC164 #64CD8D #6470CD #CD64A5
square
#CDC164 #64CD8D #6470CD #CD64A5
split-complementary
#CDC164 #64A5CD #8D64CD
monochromatic
#8A7F2D #B8AA3B #CDC164 #DCD492 #EBE6C1

Accessibility & contrast

On white

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

On black

11.41
#CDC164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC164
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC164#FFFFFF#000000##000000
##CDC1641.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc164;
/* rgb */ color: rgb(205, 193, 100);
/* oklch */ color: oklch(80.2% 0.116 102.0);
Tailwind
colors: {
  custom: {
    50: '#ded392',
    500: '#cdc164',
    950: '#000000',
  },
}
SCSS
$custom: #cdc164;
$custom-light: #ded392;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc164",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 100
  },
  "hsl": {
    "h": 53.143,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80157,
    "c": 0.11564,
    "h": 102
  },
  "luminance": 0.52039
}

Semantic roles & 50–950 ramp

primary
#CDC164
secondary
#444D91
accent
#5DDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC164

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

Preview Lab → · Contrast checker → · Palette generator →

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