#CDC64F#CDC64F

#CDC64F is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.139 H 105.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CDC64F
RGBrgb(205, 198, 79)
HSLhsl(57, 56%, 56%)
HSVhsv(57, 61%, 80%)
CMYKcmyk(0%, 3.4%, 61.5%, 19.6%)
CIE-LABlab(78.42, -12.21, 58.73)
CIE-LCHlch(78.42, 59.98, 101.75°)
OKLaboklab(80.98% -0.0382 0.134)
OKLCHoklch(80.98% 0.139 105.9)
XYZxyz(46.7838, 53.9334, 15.3414)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC64F #4F56CD
analogous
#CD874F #CDC64F #95CD4F
triadic
#CDC64F #4FCDC6 #C64FCD
tetradic
#CDC64F #4FCD87 #4F56CD #CD4F95
square
#CDC64F #4FCD87 #4F56CD #CD4F95
split-complementary
#CDC64F #4F95CD #874FCD
monochromatic
#7E7924 #AEA731 #CDC64F #DBD57F #E8E5AE

Accessibility & contrast

On white

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

On black

11.79
#CDC64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC64F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC64F#FFFFFF#000000##000000
##CDC64F1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF41
Deuteranopia (green-blind)
#D9C456
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc64f;
/* rgb */ color: rgb(205, 198, 79);
/* oklch */ color: oklch(81.0% 0.139 105.9);
Tailwind
colors: {
  custom: {
    50: '#dfd785',
    500: '#cdc64f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc64f;
$custom-light: #dfd785;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc64f",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 56.667,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80978,
    "c": 0.13939,
    "h": 105.9
  },
  "luminance": 0.53932
}

Semantic roles & 50–950 ramp

primary
#CDC64F
secondary
#3B3F86
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC64F

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

Preview Lab → · Contrast checker → · Palette generator →

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