#CDC265#CDC265

#CDC265 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.116 H 102.6°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CDC265
RGBrgb(205, 194, 101)
HSLhsl(54, 51%, 60%)
HSVhsv(54, 51%, 80%)
CMYKcmyk(0%, 5.4%, 50.7%, 19.6%)
CIE-LABlab(77.58, -8.49, 47.70)
CIE-LCHlch(77.58, 48.45, 100.09°)
OKLaboklab(80.38% -0.0252 0.1129)
OKLCHoklch(80.38% 0.116 102.6)
XYZxyz(46.8189, 52.5038, 19.9774)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC265 #6570CD
analogous
#CD8E65 #CDC265 #A4CD65
triadic
#CDC265 #65CDC2 #C265CD
tetradic
#CDC265 #65CD8E #6570CD #CD65A4
square
#CDC265 #65CD8E #6570CD #CD65A4
split-complementary
#CDC265 #65A4CD #8E65CD
monochromatic
#8B812D #B9AC3C #CDC265 #DCD493 #EBE7C1

Accessibility & contrast

On white

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

On black

11.50
#CDC265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC265
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC265#FFFFFF#000000##000000
##CDC2651.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD5D
Deuteranopia (green-blind)
#D4C269
Tritanopia (blue-blind)
#DAB7AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc265;
/* rgb */ color: rgb(205, 194, 101);
/* oklch */ color: oklch(80.4% 0.116 102.6);
Tailwind
colors: {
  custom: {
    50: '#ded493',
    500: '#cdc265',
    950: '#000000',
  },
}
SCSS
$custom: #cdc265;
$custom-light: #ded493;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc265",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 101
  },
  "hsl": {
    "h": 53.654,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.8038,
    "c": 0.11565,
    "h": 102.6
  },
  "luminance": 0.52502
}

Semantic roles & 50–950 ramp

primary
#CDC265
secondary
#454D91
accent
#5CDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC265

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

Preview Lab → · Contrast checker → · Palette generator →

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