#CDC260#CDC260

#CDC260 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.121 H 102.9°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CDC260
RGBrgb(205, 194, 96)
HSLhsl(54, 52%, 59%)
HSVhsv(54, 53%, 80%)
CMYKcmyk(0%, 5.4%, 53.2%, 19.6%)
CIE-LABlab(77.52, -8.91, 50.03)
CIE-LCHlch(77.52, 50.81, 100.10°)
OKLaboklab(80.32% -0.0269 0.1175)
OKLCHoklch(80.32% 0.121 102.9)
XYZxyz(46.5814, 52.4088, 18.7263)
Luminance0.5241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC260 #606BCD
analogous
#CD8C60 #CDC260 #A2CD60
triadic
#CDC260 #60CDC2 #C260CD
tetradic
#CDC260 #60CD8C #606BCD #CD60A2
square
#CDC260 #60CD8C #606BCD #CD60A2
split-complementary
#CDC260 #60A2CD #8C60CD
monochromatic
#887E2B #B6AA39 #CDC260 #DCD48F #EAE6BD

Accessibility & contrast

On white

1.83
#CDC260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CDC260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC260
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC260#FFFFFF#000000##000000
##CDC2601.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC57
Deuteranopia (green-blind)
#D5C265
Tritanopia (blue-blind)
#DAB7AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc260;
/* rgb */ color: rgb(205, 194, 96);
/* oklch */ color: oklch(80.3% 0.121 102.9);
Tailwind
colors: {
  custom: {
    50: '#ded490',
    500: '#cdc260',
    950: '#000000',
  },
}
SCSS
$custom: #cdc260;
$custom-light: #ded490;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc260",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 96
  },
  "hsl": {
    "h": 53.945,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80317,
    "c": 0.12051,
    "h": 102.9
  },
  "luminance": 0.52407
}

Semantic roles & 50–950 ramp

primary
#CDC260
secondary
#424A8F
accent
#5BDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC260

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

Preview Lab → · Contrast checker → · Palette generator →

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