#CDC865#CDC865

#CDC865 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.122 H 106.2°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CDC865
RGBrgb(205, 200, 101)
HSLhsl(57, 51%, 60%)
HSVhsv(57, 51%, 80%)
CMYKcmyk(0%, 2.4%, 50.7%, 19.6%)
CIE-LABlab(79.17, -11.55, 49.59)
CIE-LCHlch(79.17, 50.92, 103.12°)
OKLaboklab(81.65% -0.034 0.117)
OKLCHoklch(81.65% 0.122 106.2)
XYZxyz(48.1813, 55.2286, 20.4315)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC865 #656ACD
analogous
#CD9465 #CDC865 #9ECD65
triadic
#CDC865 #65CDC8 #C865CD
tetradic
#CDC865 #65CD94 #656ACD #CD659E
square
#CDC865 #65CD94 #656ACD #CD659E
split-complementary
#CDC865 #659ECD #9465CD
monochromatic
#8B862D #B9B33C #CDC865 #DCD893 #EBE9C1

Accessibility & contrast

On white

1.74
#CDC865 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CDC865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC865
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC865#FFFFFF#000000##000000
##CDC8651.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25C
Deuteranopia (green-blind)
#D9C66A
Tritanopia (blue-blind)
#DABDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc865;
/* rgb */ color: rgb(205, 200, 101);
/* oklch */ color: oklch(81.6% 0.122 106.2);
Tailwind
colors: {
  custom: {
    50: '#ded893',
    500: '#cdc865',
    950: '#000000',
  },
}
SCSS
$custom: #cdc865;
$custom-light: #ded893;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc865",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 101
  },
  "hsl": {
    "h": 57.115,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.81645,
    "c": 0.12182,
    "h": 106.2
  },
  "luminance": 0.55227
}

Semantic roles & 50–950 ramp

primary
#CDC865
secondary
#454991
accent
#54DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC865

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

Preview Lab → · Contrast checker → · Palette generator →

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