#CDC65C#CDC65C

#CDC65C is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.128 H 105.4°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CDC65C
RGBrgb(205, 198, 92)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 55%, 80%)
CMYKcmyk(0%, 3.4%, 55.1%, 19.6%)
CIE-LABlab(78.54, -11.28, 53.08)
CIE-LCHlch(78.54, 54.26, 102.00°)
OKLaboklab(81.11% -0.0341 0.1236)
OKLCHoklch(81.11% 0.128 105.4)
XYZxyz(47.3041, 54.1415, 18.0817)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC65C #5C63CD
analogous
#CD8D5C #CDC65C #9BCD5C
triadic
#CDC65C #5CCDC6 #C65CCD
tetradic
#CDC65C #5CCD8D #5C63CD #CD5C9B
square
#CDC65C #5CCD8D #5C63CD #CD5C9B
split-complementary
#CDC65C #5C9BCD #8D5CCD
monochromatic
#868029 #B4AD37 #CDC65C #DBD68B #EAE7BA

Accessibility & contrast

On white

1.78
#CDC65C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CDC65C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC65C
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC65C#FFFFFF#000000##000000
##CDC65C1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C051
Deuteranopia (green-blind)
#D8C561
Tritanopia (blue-blind)
#DABAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc65c;
/* rgb */ color: rgb(205, 198, 92);
/* oklch */ color: oklch(81.1% 0.128 105.4);
Tailwind
colors: {
  custom: {
    50: '#dfd78d',
    500: '#cdc65c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc65c;
$custom-light: #dfd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc65c",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 92
  },
  "hsl": {
    "h": 56.283,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81114,
    "c": 0.12825,
    "h": 105.4
  },
  "luminance": 0.5414
}

Semantic roles & 50–950 ramp

primary
#CDC65C
secondary
#40458D
accent
#54DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC65C

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

Preview Lab → · Contrast checker → · Palette generator →

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