#CDC065#CDC065

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

Color values

HEX#CDC065
RGBrgb(205, 192, 101)
HSLhsl(53, 51%, 60%)
HSVhsv(53, 51%, 80%)
CMYKcmyk(0%, 6.3%, 50.7%, 19.6%)
CIE-LABlab(77.05, -7.46, 47.07)
CIE-LCHlch(77.05, 47.66, 99.00°)
OKLaboklab(79.96% -0.0222 0.1115)
OKLCHoklch(79.96% 0.114 101.3)
XYZxyz(46.3768, 51.6196, 19.8300)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC065 #6572CD
analogous
#CD8C65 #CDC065 #A6CD65
triadic
#CDC065 #65CDC0 #C065CD
tetradic
#CDC065 #65CD8C #6572CD #CD65A6
square
#CDC065 #65CD8C #6572CD #CD65A6
split-complementary
#CDC065 #65A6CD #8C65CD
monochromatic
#8B7F2D #B9A93C #CDC065 #DCD393 #EBE6C1

Accessibility & contrast

On white

1.85
#CDC065 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC065#FFFFFF#000000##000000
##CDC0651.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc065;
/* rgb */ color: rgb(205, 192, 101);
/* oklch */ color: oklch(80.0% 0.114 101.3);
Tailwind
colors: {
  custom: {
    50: '#ded293',
    500: '#cdc065',
    950: '#000000',
  },
}
SCSS
$custom: #cdc065;
$custom-light: #ded293;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc065",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 101
  },
  "hsl": {
    "h": 52.5,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.79961,
    "c": 0.11368,
    "h": 101.3
  },
  "luminance": 0.51618
}

Semantic roles & 50–950 ramp

primary
#CDC065
secondary
#454E91
accent
#5FDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC065

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

Preview Lab → · Contrast checker → · Palette generator →

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