#CDC465#CDC465

#CDC465 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.118 H 103.8°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CDC465
RGBrgb(205, 196, 101)
HSLhsl(55, 51%, 60%)
HSVhsv(55, 51%, 80%)
CMYKcmyk(0%, 4.4%, 50.7%, 19.6%)
CIE-LABlab(78.11, -9.51, 48.33)
CIE-LCHlch(78.11, 49.26, 101.14°)
OKLaboklab(80.8% -0.0281 0.1142)
OKLCHoklch(80.8% 0.118 103.8)
XYZxyz(47.2670, 53.4001, 20.1268)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC465 #656ECD
analogous
#CD9065 #CDC465 #A2CD65
triadic
#CDC465 #65CDC4 #C465CD
tetradic
#CDC465 #65CD90 #656ECD #CD65A2
square
#CDC465 #65CD90 #656ECD #CD65A2
split-complementary
#CDC465 #65A2CD #9065CD
monochromatic
#8B832D #B9AE3C #CDC465 #DCD693 #EBE7C1

Accessibility & contrast

On white

1.80
#CDC465 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CDC465 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC465
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC465#FFFFFF#000000##000000
##CDC4651.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5C
Deuteranopia (green-blind)
#D6C369
Tritanopia (blue-blind)
#DAB9AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc465;
/* rgb */ color: rgb(205, 196, 101);
/* oklch */ color: oklch(80.8% 0.118 103.8);
Tailwind
colors: {
  custom: {
    50: '#ded593',
    500: '#cdc465',
    950: '#000000',
  },
}
SCSS
$custom: #cdc465;
$custom-light: #ded593;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc465",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 101
  },
  "hsl": {
    "h": 54.808,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.808,
    "c": 0.11765,
    "h": 103.8
  },
  "luminance": 0.53399
}

Semantic roles & 50–950 ramp

primary
#CDC465
secondary
#454B91
accent
#5ADA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC465

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

Preview Lab → · Contrast checker → · Palette generator →

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