#CFD966#CFD966

#CFD966 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.140 H 113.5°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#CFD966
RGBrgb(207, 217, 102)
HSLhsl(65, 60%, 63%)
HSVhsv(65, 53%, 85%)
CMYKcmyk(4.6%, 0%, 53%, 14.9%)
CIE-LABlab(83.89, -19.15, 54.68)
CIE-LCHlch(83.89, 57.94, 109.31°)
OKLaboklab(85.45% -0.0556 0.1281)
OKLCHoklch(85.45% 0.14 113.5)
XYZxyz(52.9443, 63.8513, 22.1033)
Luminance0.6385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD966 #7066D9
analogous
#D9A966 #CFD966 #96D966
triadic
#CFD966 #66CFD9 #D966CF
tetradic
#CFD966 #66D9A9 #7066D9 #D96696
square
#CFD966 #66D9A9 #7066D9 #D96696
split-complementary
#CFD966 #6696D9 #A966D9
monochromatic
#939D27 #C0CD35 #CFD966 #DEE597 #EEF1C8

Accessibility & contrast

On white

1.53
#CFD966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#CFD966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD966
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD966#FFFFFF#000000##000000
##CFD9661.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#E7D26C
Tritanopia (blue-blind)
#DBCEBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd966;
/* rgb */ color: rgb(207, 217, 102);
/* oklch */ color: oklch(85.4% 0.140 113.5);
Tailwind
colors: {
  custom: {
    50: '#e0e495',
    500: '#cfd966',
    950: '#000000',
  },
}
SCSS
$custom: #cfd966;
$custom-light: #e0e495;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd966",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 65.217,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85446,
    "c": 0.13964,
    "h": 113.5
  },
  "luminance": 0.6385
}

Semantic roles & 50–950 ramp

primary
#CFD966
secondary
#4A42A1
accent
#1EC82C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFD966

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

Preview Lab → · Contrast checker → · Palette generator →

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