#CDC765#CDC765

#CDC765 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.121 H 105.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CDC765
RGBrgb(205, 199, 101)
HSLhsl(57, 51%, 60%)
HSVhsv(57, 51%, 80%)
CMYKcmyk(0%, 2.9%, 50.7%, 19.6%)
CIE-LABlab(78.91, -11.05, 49.28)
CIE-LCHlch(78.91, 50.50, 102.64°)
OKLaboklab(81.43% -0.0325 0.1163)
OKLCHoklch(81.43% 0.121 105.6)
XYZxyz(47.9505, 54.7670, 20.3546)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC765 #656BCD
analogous
#CD9365 #CDC765 #9FCD65
triadic
#CDC765 #65CDC7 #C765CD
tetradic
#CDC765 #65CD93 #656BCD #CD659F
square
#CDC765 #65CD93 #656BCD #CD659F
split-complementary
#CDC765 #659FCD #9365CD
monochromatic
#8B852D #B9B23C #CDC765 #DCD893 #EBE9C1

Accessibility & contrast

On white

1.76
#CDC765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CDC765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC765
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC765#FFFFFF#000000##000000
##CDC7651.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15C
Deuteranopia (green-blind)
#D8C56A
Tritanopia (blue-blind)
#DABCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc765;
/* rgb */ color: rgb(205, 199, 101);
/* oklch */ color: oklch(81.4% 0.121 105.6);
Tailwind
colors: {
  custom: {
    50: '#ded793',
    500: '#cdc765',
    950: '#000000',
  },
}
SCSS
$custom: #cdc765;
$custom-light: #ded793;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc765",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 56.538,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.81433,
    "c": 0.12077,
    "h": 105.6
  },
  "luminance": 0.54766
}

Semantic roles & 50–950 ramp

primary
#CDC765
secondary
#454991
accent
#55DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC765

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

Preview Lab → · Contrast checker → · Palette generator →

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