#CDC063#CDC063

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

Color values

HEX#CDC063
RGBrgb(205, 192, 99)
HSLhsl(53, 51%, 60%)
HSVhsv(53, 52%, 80%)
CMYKcmyk(0%, 6.3%, 51.7%, 19.6%)
CIE-LABlab(77.03, -7.63, 48.01)
CIE-LCHlch(77.03, 48.61, 99.03°)
OKLaboklab(79.94% -0.0229 0.1134)
OKLCHoklch(79.94% 0.116 101.4)
XYZxyz(46.2800, 51.5809, 19.3202)
Luminance0.5158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC063 #6370CD
analogous
#CD8B63 #CDC063 #A5CD63
triadic
#CDC063 #63CDC0 #C063CD
tetradic
#CDC063 #63CD8B #6370CD #CD63A5
square
#CDC063 #63CD8B #6370CD #CD63A5
split-complementary
#CDC063 #63A5CD #8B63CD
monochromatic
#8A7E2C #B8A93B #CDC063 #DCD391 #EBE5C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC063#FFFFFF#000000##000000
##CDC0631.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)
#CFBB5B
Deuteranopia (green-blind)
#D3C167
Tritanopia (blue-blind)
#DAB5AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc063;
/* rgb */ color: rgb(205, 192, 99);
/* oklch */ color: oklch(79.9% 0.116 101.4);
Tailwind
colors: {
  custom: {
    50: '#ded292',
    500: '#cdc063',
    950: '#000000',
  },
}
SCSS
$custom: #cdc063;
$custom-light: #ded292;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc063",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 99
  },
  "hsl": {
    "h": 52.642,
    "s": 51.456,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79935,
    "c": 0.11566,
    "h": 101.4
  },
  "luminance": 0.51579
}

Semantic roles & 50–950 ramp

primary
#CDC063
secondary
#444D90
accent
#5EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC063

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

Preview Lab → · Contrast checker → · Palette generator →

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