#CDC861#CDC861

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

Color values

HEX#CDC861
RGBrgb(205, 200, 97)
HSLhsl(57, 52%, 59%)
HSVhsv(57, 53%, 80%)
CMYKcmyk(0%, 2.4%, 52.7%, 19.6%)
CIE-LABlab(79.13, -11.89, 51.43)
CIE-LCHlch(79.13, 52.78, 103.02°)
OKLaboklab(81.6% -0.0354 0.1206)
OKLCHoklch(81.6% 0.126 106.3)
XYZxyz(47.9901, 55.1521, 19.4244)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC861 #6166CD
analogous
#CD9261 #CDC861 #9CCD61
triadic
#CDC861 #61CDC8 #C861CD
tetradic
#CDC861 #61CD92 #6166CD #CD619C
square
#CDC861 #61CD92 #6166CD #CD619C
split-complementary
#CDC861 #619CCD #9261CD
monochromatic
#88842B #B7B13A #CDC861 #DCD88F #EAE8BE

Accessibility & contrast

On white

1.75
#CDC861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CDC861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC861
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC861#FFFFFF#000000##000000
##CDC8611.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc861;
/* rgb */ color: rgb(205, 200, 97);
/* oklch */ color: oklch(81.6% 0.126 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded891',
    500: '#cdc861',
    950: '#000000',
  },
}
SCSS
$custom: #cdc861;
$custom-light: #ded891;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc861",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 97
  },
  "hsl": {
    "h": 57.222,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81595,
    "c": 0.12567,
    "h": 106.3
  },
  "luminance": 0.55151
}

Semantic roles & 50–950 ramp

primary
#CDC861
secondary
#43468F
accent
#53DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC861

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

Preview Lab → · Contrast checker → · Palette generator →

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