#CDC65A#CDC65A

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

Color values

HEX#CDC65A
RGBrgb(205, 198, 90)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 56%, 80%)
CMYKcmyk(0%, 3.4%, 56.1%, 19.6%)
CIE-LABlab(78.52, -11.43, 53.97)
CIE-LCHlch(78.52, 55.17, 101.96°)
OKLaboklab(81.09% -0.0348 0.1253)
OKLCHoklch(81.09% 0.13 105.5)
XYZxyz(47.2178, 54.1070, 17.6273)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC65A #5A61CD
analogous
#CD8D5A #CDC65A #9ACD5A
triadic
#CDC65A #5ACDC6 #C65ACD
tetradic
#CDC65A #5ACD8D #5A61CD #CD5A9A
square
#CDC65A #5ACD8D #5A61CD #CD5A9A
split-complementary
#CDC65A #5A9ACD #8D5ACD
monochromatic
#847F28 #B3AC36 #CDC65A #DBD689 #E9E6B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC65A#FFFFFF#000000##000000
##CDC65A1.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)
#D5C04F
Deuteranopia (green-blind)
#D8C560
Tritanopia (blue-blind)
#DBBAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc65a;
/* rgb */ color: rgb(205, 198, 90);
/* oklch */ color: oklch(81.1% 0.130 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfd78c',
    500: '#cdc65a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc65a;
$custom-light: #dfd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc65a",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 90
  },
  "hsl": {
    "h": 56.348,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81091,
    "c": 0.13006,
    "h": 105.5
  },
  "luminance": 0.54105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC65A

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

Preview Lab → · Contrast checker → · Palette generator →

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