#CDC65D#CDC65D

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

Color values

HEX#CDC65D
RGBrgb(205, 198, 93)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 55%, 80%)
CMYKcmyk(0%, 3.4%, 54.6%, 19.6%)
CIE-LABlab(78.55, -11.20, 52.63)
CIE-LCHlch(78.55, 53.80, 102.02°)
OKLaboklab(81.13% -0.0338 0.1228)
OKLCHoklch(81.13% 0.127 105.4)
XYZxyz(47.3481, 54.1591, 18.3134)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC65D #5D64CD
analogous
#CD8E5D #CDC65D #9CCD5D
triadic
#CDC65D #5DCDC6 #C65DCD
tetradic
#CDC65D #5DCD8E #5D64CD #CD5D9C
square
#CDC65D #5DCD8E #5D64CD #CD5D9C
split-complementary
#CDC65D #5D9CCD #8E5DCD
monochromatic
#868029 #B5AD38 #CDC65D #DBD68C #EAE7BB

Accessibility & contrast

On white

1.77
#CDC65D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC65D#FFFFFF#000000##000000
##CDC65D1.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C053
Deuteranopia (green-blind)
#D8C562
Tritanopia (blue-blind)
#DABAAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc65d;
/* rgb */ color: rgb(205, 198, 93);
/* oklch */ color: oklch(81.1% 0.127 105.4);
Tailwind
colors: {
  custom: {
    50: '#dfd78e',
    500: '#cdc65d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc65d;
$custom-light: #dfd78e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc65d",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 93
  },
  "hsl": {
    "h": 56.25,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81125,
    "c": 0.12733,
    "h": 105.4
  },
  "luminance": 0.54158
}

Semantic roles & 50–950 ramp

primary
#CDC65D
secondary
#41468D
accent
#55DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC65D

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

Preview Lab → · Contrast checker → · Palette generator →

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