#CFD866#CFD866

#CFD866 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.138 H 113.1°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#CFD866
RGBrgb(207, 216, 102)
HSLhsl(65, 59%, 62%)
HSVhsv(65, 53%, 85%)
CMYKcmyk(4.2%, 0%, 52.8%, 15.3%)
CIE-LABlab(83.62, -18.66, 54.37)
CIE-LCHlch(83.62, 57.48, 108.95°)
OKLaboklab(85.23% -0.0542 0.1274)
OKLCHoklch(85.23% 0.138 113.1)
XYZxyz(52.6873, 63.3374, 22.0176)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD866 #6F66D8
analogous
#D8A866 #CFD866 #96D866
triadic
#CFD866 #66CFD8 #D866CF
tetradic
#CFD866 #66D8A8 #6F66D8 #D86696
square
#CFD866 #66D8A8 #6F66D8 #D86696
split-complementary
#CFD866 #6696D8 #A866D8
monochromatic
#939C28 #C0CC35 #CFD866 #DEE497 #EEF1C8

Accessibility & contrast

On white

1.54
#CFD866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#CFD866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD866
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD866#FFFFFF#000000##000000
##CFD8661.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5B
Deuteranopia (green-blind)
#E6D26C
Tritanopia (blue-blind)
#DBCDBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd866;
/* rgb */ color: rgb(207, 216, 102);
/* oklch */ color: oklch(85.2% 0.138 113.1);
Tailwind
colors: {
  custom: {
    50: '#e0e395',
    500: '#cfd866',
    950: '#000000',
  },
}
SCSS
$custom: #cfd866;
$custom-light: #e0e395;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd866",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 64.737,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85232,
    "c": 0.13848,
    "h": 113.1
  },
  "luminance": 0.63336
}

Semantic roles & 50–950 ramp

primary
#CFD866
secondary
#4A42A0
accent
#1EC72C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFD866

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

Preview Lab → · Contrast checker → · Palette generator →

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