#CDC65B#CDC65B

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

Color values

HEX#CDC65B
RGBrgb(205, 198, 91)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 56%, 80%)
CMYKcmyk(0%, 3.4%, 55.6%, 19.6%)
CIE-LABlab(78.53, -11.36, 53.52)
CIE-LCHlch(78.53, 54.72, 101.98°)
OKLaboklab(81.1% -0.0345 0.1245)
OKLCHoklch(81.1% 0.129 105.5)
XYZxyz(47.2607, 54.1241, 17.8530)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC65B #5B62CD
analogous
#CD8D5B #CDC65B #9BCD5B
triadic
#CDC65B #5BCDC6 #C65BCD
tetradic
#CDC65B #5BCD8D #5B62CD #CD5B9B
square
#CDC65B #5BCD8D #5B62CD #CD5B9B
split-complementary
#CDC65B #5B9BCD #8D5BCD
monochromatic
#857F29 #B4AC37 #CDC65B #DBD68A #EAE7B9

Accessibility & contrast

On white

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

On black

11.82
#CDC65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC65B
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC65B#FFFFFF#000000##000000
##CDC65B1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc65b;
/* rgb */ color: rgb(205, 198, 91);
/* oklch */ color: oklch(81.1% 0.129 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfd78d',
    500: '#cdc65b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc65b;
$custom-light: #dfd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc65b",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 91
  },
  "hsl": {
    "h": 56.316,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81102,
    "c": 0.12916,
    "h": 105.5
  },
  "luminance": 0.54123
}

Semantic roles & 50–950 ramp

primary
#CDC65B
secondary
#40458C
accent
#54DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC65B

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

Preview Lab → · Contrast checker → · Palette generator →

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