#CDCA63#CDCA63

#CDCA63 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.126 H 107.4°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CDCA63
RGBrgb(205, 202, 99)
HSLhsl(58, 51%, 60%)
HSVhsv(58, 52%, 80%)
CMYKcmyk(0%, 1.5%, 51.7%, 19.6%)
CIE-LABlab(79.68, -12.74, 51.14)
CIE-LCHlch(79.68, 52.70, 103.99°)
OKLaboklab(82.04% -0.0376 0.1202)
OKLCHoklch(82.04% 0.126 107.4)
XYZxyz(48.5508, 56.1224, 20.0771)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA63 #6366CD
analogous
#CD9563 #CDCA63 #9BCD63
triadic
#CDCA63 #63CDCA #CA63CD
tetradic
#CDCA63 #63CD95 #6366CD #CD639B
square
#CDCA63 #63CD95 #6366CD #CD639B
split-complementary
#CDCA63 #639BCD #9563CD
monochromatic
#8A872C #B8B43B #CDCA63 #DCDA91 #EBE9C0

Accessibility & contrast

On white

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

On black

12.22
#CDCA63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA63
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA63#FFFFFF#000000##000000
##CDCA631.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C359
Deuteranopia (green-blind)
#DAC768
Tritanopia (blue-blind)
#DABFB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca63;
/* rgb */ color: rgb(205, 202, 99);
/* oklch */ color: oklch(82.0% 0.126 107.4);
Tailwind
colors: {
  custom: {
    50: '#deda92',
    500: '#cdca63',
    950: '#000000',
  },
}
SCSS
$custom: #cdca63;
$custom-light: #deda92;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca63",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 99
  },
  "hsl": {
    "h": 58.302,
    "s": 51.456,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82044,
    "c": 0.1259,
    "h": 107.4
  },
  "luminance": 0.56121
}

Semantic roles & 50–950 ramp

primary
#CDCA63
secondary
#444690
accent
#51DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCA63

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

Preview Lab → · Contrast checker → · Palette generator →

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