#CDCA67#CDCA67

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

Color values

HEX#CDCA67
RGBrgb(205, 202, 103)
HSLhsl(58, 50%, 60%)
HSVhsv(58, 50%, 80%)
CMYKcmyk(0%, 1.5%, 49.8%, 19.6%)
CIE-LABlab(79.73, -12.39, 49.29)
CIE-LCHlch(79.73, 50.83, 104.11°)
OKLaboklab(82.09% -0.0362 0.1165)
OKLCHoklch(82.09% 0.122 107.2)
XYZxyz(48.7467, 56.2008, 21.1093)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA67 #676ACD
analogous
#CD9767 #CDCA67 #9DCD67
triadic
#CDCA67 #67CDCA #CA67CD
tetradic
#CDCA67 #67CD97 #676ACD #CD679D
square
#CDCA67 #67CD97 #676ACD #CD679D
split-complementary
#CDCA67 #679DCD #9767CD
monochromatic
#8C892E #BAB63D #CDCA67 #DCDA95 #EBEAC3

Accessibility & contrast

On white

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

On black

12.24
#CDCA67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA67
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA67#FFFFFF#000000##000000
##CDCA671.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35E
Deuteranopia (green-blind)
#DAC86C
Tritanopia (blue-blind)
#D9BFB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca67;
/* rgb */ color: rgb(205, 202, 103);
/* oklch */ color: oklch(82.1% 0.122 107.2);
Tailwind
colors: {
  custom: {
    50: '#deda95',
    500: '#cdca67',
    950: '#000000',
  },
}
SCSS
$custom: #cdca67;
$custom-light: #deda95;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca67",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 103
  },
  "hsl": {
    "h": 58.235,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82094,
    "c": 0.12201,
    "h": 107.2
  },
  "luminance": 0.56199
}

Semantic roles & 50–950 ramp

primary
#CDCA67
secondary
#464892
accent
#2CBE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCA67

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

Preview Lab → · Contrast checker → · Palette generator →

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