#CFDC56#CFDC56

#CFDC56 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 85.9% C 0.157 H 114.4°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#CFDC56
RGBrgb(207, 220, 86)
HSLhsl(66, 66%, 60%)
HSVhsv(66, 61%, 86%)
CMYKcmyk(5.9%, 0%, 60.9%, 13.7%)
CIE-LABlab(84.55, -21.84, 62.43)
CIE-LCHlch(84.55, 66.13, 109.28°)
OKLaboklab(85.93% -0.0648 0.1428)
OKLCHoklch(85.93% 0.157 114.4)
XYZxyz(53.0063, 65.1246, 18.5803)
Luminance0.6512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC56 #6356DC
analogous
#DCA656 #CFDC56 #8CDC56
triadic
#CFDC56 #56CFDC #DC56CF
tetradic
#CFDC56 #56DCA6 #6356DC #DC568C
square
#CFDC56 #56DCA6 #6356DC #DC568C
split-complementary
#CFDC56 #568CDC #A656DC
monochromatic
#8C9820 #BBCB2A #CFDC56 #DDE689 #ECF1BB

Accessibility & contrast

On white

1.50
#CFDC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#CFDC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC56
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC56#FFFFFF#000000##000000
##CFDC561.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD246
Deuteranopia (green-blind)
#EAD45F
Tritanopia (blue-blind)
#DBD0C0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfdc56;
/* rgb */ color: rgb(207, 220, 86);
/* oklch */ color: oklch(85.9% 0.157 114.4);
Tailwind
colors: {
  custom: {
    50: '#e0e68b',
    500: '#cfdc56',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc56;
$custom-light: #e0e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc56",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 65.821,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.85926,
    "c": 0.1568,
    "h": 114.4
  },
  "luminance": 0.65124
}

Semantic roles & 50–950 ramp

primary
#CFDC56
secondary
#433A9C
accent
#3FE950
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFDC56

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

Preview Lab → · Contrast checker → · Palette generator →

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