#CDC863#CDC863

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

Color values

HEX#CDC863
RGBrgb(205, 200, 99)
HSLhsl(57, 51%, 60%)
HSVhsv(57, 52%, 80%)
CMYKcmyk(0%, 2.4%, 51.7%, 19.6%)
CIE-LABlab(79.15, -11.73, 50.51)
CIE-LCHlch(79.15, 51.85, 103.07°)
OKLaboklab(81.62% -0.0347 0.1188)
OKLCHoklch(81.62% 0.124 106.3)
XYZxyz(48.0845, 55.1899, 19.9217)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC863 #6368CD
analogous
#CD9363 #CDC863 #9DCD63
triadic
#CDC863 #63CDC8 #C863CD
tetradic
#CDC863 #63CD93 #6368CD #CD639D
square
#CDC863 #63CD93 #6368CD #CD639D
split-complementary
#CDC863 #639DCD #9363CD
monochromatic
#8A852C #B8B23B #CDC863 #DCD891 #EBE9C0

Accessibility & contrast

On white

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

On black

12.04
#CDC863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC863
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC863#FFFFFF#000000##000000
##CDC8631.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc863;
/* rgb */ color: rgb(205, 200, 99);
/* oklch */ color: oklch(81.6% 0.124 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded892',
    500: '#cdc863',
    950: '#000000',
  },
}
SCSS
$custom: #cdc863;
$custom-light: #ded892;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc863",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 99
  },
  "hsl": {
    "h": 57.17,
    "s": 51.456,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8162,
    "c": 0.12377,
    "h": 106.3
  },
  "luminance": 0.55189
}

Semantic roles & 50–950 ramp

primary
#CDC863
secondary
#444790
accent
#54DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC863

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

Preview Lab → · Contrast checker → · Palette generator →

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