#CDC464#CDC464

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

Color values

HEX#CDC464
RGBrgb(205, 196, 100)
HSLhsl(55, 51%, 60%)
HSVhsv(55, 51%, 80%)
CMYKcmyk(0%, 4.4%, 51.2%, 19.6%)
CIE-LABlab(78.10, -9.60, 48.80)
CIE-LCHlch(78.10, 49.73, 101.13°)
OKLaboklab(80.79% -0.0285 0.1152)
OKLCHoklch(80.79% 0.119 103.9)
XYZxyz(47.2183, 53.3806, 19.8703)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC464 #646DCD
analogous
#CD8F64 #CDC464 #A2CD64
triadic
#CDC464 #64CDC4 #C464CD
tetradic
#CDC464 #64CD8F #646DCD #CD64A2
square
#CDC464 #64CD8F #646DCD #CD64A2
split-complementary
#CDC464 #64A2CD #8F64CD
monochromatic
#8A822D #B8AE3B #CDC464 #DCD692 #EBE7C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC464#FFFFFF#000000##000000
##CDC4641.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)
#D2BE5B
Deuteranopia (green-blind)
#D6C369
Tritanopia (blue-blind)
#DAB9AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc464;
/* rgb */ color: rgb(205, 196, 100);
/* oklch */ color: oklch(80.8% 0.119 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded592',
    500: '#cdc464',
    950: '#000000',
  },
}
SCSS
$custom: #cdc464;
$custom-light: #ded592;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc464",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 100
  },
  "hsl": {
    "h": 54.857,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80788,
    "c": 0.11864,
    "h": 103.9
  },
  "luminance": 0.53379
}

Semantic roles & 50–950 ramp

primary
#CDC464
secondary
#444B91
accent
#59DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC464

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

Preview Lab → · Contrast checker → · Palette generator →

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