#CDCA62#CDCA62

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

Color values

HEX#CDCA62
RGBrgb(205, 202, 98)
HSLhsl(58, 52%, 59%)
HSVhsv(58, 52%, 80%)
CMYKcmyk(0%, 1.5%, 52.2%, 19.6%)
CIE-LABlab(79.67, -12.82, 51.59)
CIE-LCHlch(79.67, 53.16, 103.96°)
OKLaboklab(82.03% -0.0379 0.1211)
OKLCHoklch(82.03% 0.127 107.4)
XYZxyz(48.5032, 56.1034, 19.8269)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA62 #6265CD
analogous
#CD9562 #CDCA62 #9BCD62
triadic
#CDCA62 #62CDCA #CA62CD
tetradic
#CDCA62 #62CD95 #6265CD #CD629B
square
#CDCA62 #62CD95 #6265CD #CD629B
split-complementary
#CDCA62 #629BCD #9562CD
monochromatic
#89862C #B7B43A #CDCA62 #DCDA90 #EBE9BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA62#FFFFFF#000000##000000
##CDCA621.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)
#D8C358
Deuteranopia (green-blind)
#DAC767
Tritanopia (blue-blind)
#DABFB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca62;
/* rgb */ color: rgb(205, 202, 98);
/* oklch */ color: oklch(82.0% 0.127 107.4);
Tailwind
colors: {
  custom: {
    50: '#ded991',
    500: '#cdca62',
    950: '#000000',
  },
}
SCSS
$custom: #cdca62;
$custom-light: #ded991;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca62",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 98
  },
  "hsl": {
    "h": 58.318,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82032,
    "c": 0.12685,
    "h": 107.4
  },
  "luminance": 0.56102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCA62

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

Preview Lab → · Contrast checker → · Palette generator →

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