#CDCA60#CDCA60

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

Color values

HEX#CDCA60
RGBrgb(205, 202, 96)
HSLhsl(58, 52%, 59%)
HSVhsv(58, 53%, 80%)
CMYKcmyk(0%, 1.5%, 53.2%, 19.6%)
CIE-LABlab(79.65, -12.99, 52.50)
CIE-LCHlch(79.65, 54.08, 103.90°)
OKLaboklab(82.01% -0.0386 0.1228)
OKLCHoklch(82.01% 0.129 107.4)
XYZxyz(48.4100, 56.0661, 19.3358)
Luminance0.5606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA60 #6063CD
analogous
#CD9460 #CDCA60 #9ACD60
triadic
#CDCA60 #60CDCA #CA60CD
tetradic
#CDCA60 #60CD94 #6063CD #CD609A
square
#CDCA60 #60CD94 #6063CD #CD609A
split-complementary
#CDCA60 #609ACD #9460CD
monochromatic
#88852B #B6B339 #CDCA60 #DCDA8F #EAE9BD

Accessibility & contrast

On white

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

On black

12.21
#CDCA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA60
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA60#FFFFFF#000000##000000
##CDCA601.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C356
Deuteranopia (green-blind)
#DBC765
Tritanopia (blue-blind)
#DABFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca60;
/* rgb */ color: rgb(205, 202, 96);
/* oklch */ color: oklch(82.0% 0.129 107.4);
Tailwind
colors: {
  custom: {
    50: '#ded990',
    500: '#cdca60',
    950: '#000000',
  },
}
SCSS
$custom: #cdca60;
$custom-light: #ded990;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca60",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 96
  },
  "hsl": {
    "h": 58.349,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82008,
    "c": 0.12873,
    "h": 107.4
  },
  "luminance": 0.56065
}

Semantic roles & 50–950 ramp

primary
#CDCA60
secondary
#42458F
accent
#50DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCA60

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

Preview Lab → · Contrast checker → · Palette generator →

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