#CDC064#CDC064

#CDC064 is a light, moderate yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.115 H 101.4°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CDC064
RGBrgb(205, 192, 100)
HSLhsl(53, 51%, 60%)
HSVhsv(53, 51%, 80%)
CMYKcmyk(0%, 6.3%, 51.2%, 19.6%)
CIE-LABlab(77.04, -7.54, 47.54)
CIE-LCHlch(77.04, 48.14, 99.02°)
OKLaboklab(79.95% -0.0226 0.1124)
OKLCHoklch(79.95% 0.115 101.4)
XYZxyz(46.3281, 51.6001, 19.5736)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC064 #6471CD
analogous
#CD8B64 #CDC064 #A6CD64
triadic
#CDC064 #64CDC0 #C064CD
tetradic
#CDC064 #64CD8B #6471CD #CD64A6
square
#CDC064 #64CD8B #6471CD #CD64A6
split-complementary
#CDC064 #64A6CD #8B64CD
monochromatic
#8A7E2D #B8A93B #CDC064 #DCD392 #EBE6C1

Accessibility & contrast

On white

1.86
#CDC064 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CDC064 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC064
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC064#FFFFFF#000000##000000
##CDC0641.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB5C
Deuteranopia (green-blind)
#D3C168
Tritanopia (blue-blind)
#DAB5AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc064;
/* rgb */ color: rgb(205, 192, 100);
/* oklch */ color: oklch(79.9% 0.115 101.4);
Tailwind
colors: {
  custom: {
    50: '#ded292',
    500: '#cdc064',
    950: '#000000',
  },
}
SCSS
$custom: #cdc064;
$custom-light: #ded292;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc064",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 100
  },
  "hsl": {
    "h": 52.571,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.79948,
    "c": 0.11468,
    "h": 101.4
  },
  "luminance": 0.51599
}

Semantic roles & 50–950 ramp

primary
#CDC064
secondary
#444E91
accent
#5FDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC064

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

Preview Lab → · Contrast checker → · Palette generator →

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