#CDC460#CDC460

#CDC460 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.122 H 104.1°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CDC460
RGBrgb(205, 196, 96)
HSLhsl(55, 52%, 59%)
HSVhsv(55, 53%, 80%)
CMYKcmyk(0%, 4.4%, 53.2%, 19.6%)
CIE-LABlab(78.05, -9.94, 50.65)
CIE-LCHlch(78.05, 51.61, 101.10°)
OKLaboklab(80.74% -0.0299 0.1188)
OKLCHoklch(80.74% 0.123 104.1)
XYZxyz(47.0295, 53.3050, 18.8756)
Luminance0.5330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC460 #6069CD
analogous
#CD8E60 #CDC460 #A0CD60
triadic
#CDC460 #60CDC4 #C460CD
tetradic
#CDC460 #60CD8E #6069CD #CD60A0
square
#CDC460 #60CD8E #6069CD #CD60A0
split-complementary
#CDC460 #60A0CD #8E60CD
monochromatic
#88802B #B6AC39 #CDC460 #DCD58F #EAE7BD

Accessibility & contrast

On white

1.80
#CDC460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CDC460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC460
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC460#FFFFFF#000000##000000
##CDC4601.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE56
Deuteranopia (green-blind)
#D6C365
Tritanopia (blue-blind)
#DAB9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc460;
/* rgb */ color: rgb(205, 196, 96);
/* oklch */ color: oklch(80.7% 0.122 104.1);
Tailwind
colors: {
  custom: {
    50: '#ded590',
    500: '#cdc460',
    950: '#000000',
  },
}
SCSS
$custom: #cdc460;
$custom-light: #ded590;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc460",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 96
  },
  "hsl": {
    "h": 55.046,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80738,
    "c": 0.1225,
    "h": 104.1
  },
  "luminance": 0.53304
}

Semantic roles & 50–950 ramp

primary
#CDC460
secondary
#42498F
accent
#58DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC460

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

Preview Lab → · Contrast checker → · Palette generator →

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