#CFCD66#CFCD66

#CFCD66 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.126 H 107.9°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#CFCD66
RGBrgb(207, 205, 102)
HSLhsl(59, 52%, 61%)
HSVhsv(59, 51%, 81%)
CMYKcmyk(0%, 1%, 50.7%, 18.8%)
CIE-LABlab(80.68, -13.18, 50.93)
CIE-LCHlch(80.68, 52.61, 104.51°)
OKLaboklab(82.88% -0.0386 0.12)
OKLCHoklch(82.88% 0.126 107.9)
XYZxyz(49.9630, 57.8886, 21.1095)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD66 #6668CF
analogous
#CF9866 #CFCD66 #9CCF66
triadic
#CFCD66 #66CFCD #CD66CF
tetradic
#CFCD66 #66CF98 #6668CF #CF669C
square
#CFCD66 #66CF98 #6668CF #CF669C
split-complementary
#CFCD66 #669CCF #9866CF
monochromatic
#8E8C2D #BDBA3B #CFCD66 #DEDC95 #ECEBC3

Accessibility & contrast

On white

1.67
#CFCD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#CFCD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD66
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD66#FFFFFF#000000##000000
##CFCD661.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC65C
Deuteranopia (green-blind)
#DDCA6B
Tritanopia (blue-blind)
#DCC2B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd66;
/* rgb */ color: rgb(207, 205, 102);
/* oklch */ color: oklch(82.9% 0.126 107.9);
Tailwind
colors: {
  custom: {
    50: '#e0dc94',
    500: '#cfcd66',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd66;
$custom-light: #e0dc94;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd66",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 58.857,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82884,
    "c": 0.12604,
    "h": 107.9
  },
  "luminance": 0.57887
}

Semantic roles & 50–950 ramp

primary
#CFCD66
secondary
#454694
accent
#29C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFCD66

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

Preview Lab → · Contrast checker → · Palette generator →

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