#CDCA65#CDCA65

#CDCA65 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.124 H 107.3°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CDCA65
RGBrgb(205, 202, 101)
HSLhsl(58, 51%, 60%)
HSVhsv(58, 51%, 80%)
CMYKcmyk(0%, 1.5%, 50.7%, 19.6%)
CIE-LABlab(79.71, -12.57, 50.22)
CIE-LCHlch(79.71, 51.77, 104.05°)
OKLaboklab(82.07% -0.0369 0.1184)
OKLCHoklch(82.07% 0.124 107.3)
XYZxyz(48.6475, 56.1611, 20.5870)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA65 #6568CD
analogous
#CD9665 #CDCA65 #9CCD65
triadic
#CDCA65 #65CDCA #CA65CD
tetradic
#CDCA65 #65CD96 #6568CD #CD659C
square
#CDCA65 #65CD96 #6568CD #CD659C
split-complementary
#CDCA65 #659CCD #9665CD
monochromatic
#8B882D #B9B53C #CDCA65 #DCDA93 #EBEAC1

Accessibility & contrast

On white

1.72
#CDCA65 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CDCA65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA65
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA65#FFFFFF#000000##000000
##CDCA651.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35C
Deuteranopia (green-blind)
#DAC86A
Tritanopia (blue-blind)
#DABFB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca65;
/* rgb */ color: rgb(205, 202, 101);
/* oklch */ color: oklch(82.1% 0.124 107.3);
Tailwind
colors: {
  custom: {
    50: '#deda93',
    500: '#cdca65',
    950: '#000000',
  },
}
SCSS
$custom: #cdca65;
$custom-light: #deda93;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca65",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 101
  },
  "hsl": {
    "h": 58.269,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.82068,
    "c": 0.12397,
    "h": 107.3
  },
  "luminance": 0.5616
}

Semantic roles & 50–950 ramp

primary
#CDCA65
secondary
#454791
accent
#51DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCA65

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

Preview Lab → · Contrast checker → · Palette generator →

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