#CDC64B#CDC64B

#CDC64B is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.143 H 106.1°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CDC64B
RGBrgb(205, 198, 75)
HSLhsl(57, 57%, 55%)
HSVhsv(57, 63%, 80%)
CMYKcmyk(0%, 3.4%, 63.4%, 19.6%)
CIE-LABlab(78.39, -12.47, 60.38)
CIE-LCHlch(78.39, 61.65, 101.67°)
OKLaboklab(80.94% -0.0394 0.137)
OKLCHoklch(80.94% 0.143 106.1)
XYZxyz(46.6426, 53.8769, 14.5976)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC64B #4B52CD
analogous
#CD854B #CDC64B #93CD4B
triadic
#CDC64B #4BCDC6 #C64BCD
tetradic
#CDC64B #4BCD85 #4B52CD #CD4B93
square
#CDC64B #4BCD85 #4B52CD #CD4B93
split-complementary
#CDC64B #4B93CD #854BCD
monochromatic
#7B7722 #ABA530 #CDC64B #DAD57B #E8E4AB

Accessibility & contrast

On white

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

On black

11.77
#CDC64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC64B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC64B#FFFFFF#000000##000000
##CDC64B1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3C
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#DBBAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc64b;
/* rgb */ color: rgb(205, 198, 75);
/* oklch */ color: oklch(80.9% 0.143 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd783',
    500: '#cdc64b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc64b;
$custom-light: #dfd783;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc64b",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 75
  },
  "hsl": {
    "h": 56.769,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80941,
    "c": 0.14252,
    "h": 106.1
  },
  "luminance": 0.53875
}

Semantic roles & 50–950 ramp

primary
#CDC64B
secondary
#393D83
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC64B

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

Preview Lab → · Contrast checker → · Palette generator →

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