#CDC165#CDC165

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

Color values

HEX#CDC165
RGBrgb(205, 193, 101)
HSLhsl(53, 51%, 60%)
HSVhsv(53, 51%, 80%)
CMYKcmyk(0%, 5.9%, 50.7%, 19.6%)
CIE-LABlab(77.32, -7.97, 47.38)
CIE-LCHlch(77.32, 48.05, 99.55°)
OKLaboklab(80.17% -0.0237 0.1122)
OKLCHoklch(80.17% 0.115 101.9)
XYZxyz(46.5971, 52.0602, 19.9035)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC165 #6571CD
analogous
#CD8D65 #CDC165 #A5CD65
triadic
#CDC165 #65CDC1 #C165CD
tetradic
#CDC165 #65CD8D #6571CD #CD65A5
square
#CDC165 #65CD8D #6571CD #CD65A5
split-complementary
#CDC165 #65A5CD #8D65CD
monochromatic
#8B802D #B9AA3C #CDC165 #DCD493 #EBE6C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC165#FFFFFF#000000##000000
##CDC1651.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)
#D0BC5D
Deuteranopia (green-blind)
#D3C169
Tritanopia (blue-blind)
#DAB6AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc165;
/* rgb */ color: rgb(205, 193, 101);
/* oklch */ color: oklch(80.2% 0.115 101.9);
Tailwind
colors: {
  custom: {
    50: '#ded393',
    500: '#cdc165',
    950: '#000000',
  },
}
SCSS
$custom: #cdc165;
$custom-light: #ded393;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc165",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 101
  },
  "hsl": {
    "h": 53.077,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.8017,
    "c": 0.11466,
    "h": 101.9
  },
  "luminance": 0.52059
}

Semantic roles & 50–950 ramp

primary
#CDC165
secondary
#454E91
accent
#5EDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC165

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

Preview Lab → · Contrast checker → · Palette generator →

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