#CDCF66#CDCF66

#CDCF66 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.1% C 0.129 H 109.9°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CDCF66
RGBrgb(205, 207, 102)
HSLhsl(61, 52%, 61%)
HSVhsv(61, 51%, 81%)
CMYKcmyk(1%, 0%, 50.7%, 18.8%)
CIE-LABlab(81.05, -15.00, 51.33)
CIE-LCHlch(81.05, 53.48, 106.29°)
OKLaboklab(83.15% -0.0437 0.1209)
OKLCHoklch(83.15% 0.129 109.9)
XYZxyz(49.8891, 58.5652, 21.2440)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF66 #6866CF
analogous
#CF9C66 #CDCF66 #98CF66
triadic
#CDCF66 #66CDCF #CF66CD
tetradic
#CDCF66 #66CF9C #6866CF #CF6698
square
#CDCF66 #66CF9C #6866CF #CF6698
split-complementary
#CDCF66 #6698CF #9C66CF
monochromatic
#8C8E2D #BABD3B #CDCF66 #DCDE95 #EBECC3

Accessibility & contrast

On white

1.65
#CDCF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#CDCF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF66
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF66#FFFFFF#000000##000000
##CDCF661.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC75C
Deuteranopia (green-blind)
#DECB6B
Tritanopia (blue-blind)
#D9C4B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf66;
/* rgb */ color: rgb(205, 207, 102);
/* oklch */ color: oklch(83.1% 0.129 109.9);
Tailwind
colors: {
  custom: {
    50: '#dedd94',
    500: '#cdcf66',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf66;
$custom-light: #dedd94;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf66",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 61.143,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83145,
    "c": 0.12853,
    "h": 109.9
  },
  "luminance": 0.58564
}

Semantic roles & 50–950 ramp

primary
#CDCF66
secondary
#464594
accent
#26C029
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCF66

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

Preview Lab → · Contrast checker → · Palette generator →

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