#CFDC78#CFDC78

#CFDC78 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.3% C 0.126 H 115.2°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#CFDC78
RGBrgb(207, 220, 120)
HSLhsl(68, 59%, 67%)
HSVhsv(68, 45%, 86%)
CMYKcmyk(5.9%, 0%, 45.5%, 13.7%)
CIE-LABlab(84.90, -18.97, 47.41)
CIE-LCHlch(84.90, 51.06, 111.81°)
OKLaboklab(86.32% -0.0534 0.1137)
OKLCHoklch(86.32% 0.126 115.2)
XYZxyz(54.7161, 65.8085, 27.5855)
Luminance0.6581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC78 #8578DC
analogous
#DCB778 #CFDC78 #9DDC78
triadic
#CFDC78 #78CFDC #DC78CF
tetradic
#CFDC78 #78DCB7 #8578DC #DC789D
square
#CFDC78 #78DCB7 #8578DC #DC789D
split-complementary
#CFDC78 #789DDC #B778DC
monochromatic
#9CAD2D #BECF47 #CFDC78 #E0E9A9 #F2F5D9

Accessibility & contrast

On white

1.48
#CFDC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#CFDC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC78
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC78#FFFFFF#000000##000000
##CFDC781.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D370
Deuteranopia (green-blind)
#E7D57D
Tritanopia (blue-blind)
#D9D2C4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cfdc78;
/* rgb */ color: rgb(207, 220, 120);
/* oklch */ color: oklch(86.3% 0.126 115.2);
Tailwind
colors: {
  custom: {
    50: '#dfe6a1',
    500: '#cfdc78',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc78;
$custom-light: #dfe6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc78",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 120
  },
  "hsl": {
    "h": 67.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8632,
    "c": 0.12561,
    "h": 115.2
  },
  "luminance": 0.65808
}

Semantic roles & 50–950 ramp

primary
#CFDC78
secondary
#5649AF
accent
#1FC635
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDC78

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

Preview Lab → · Contrast checker → · Palette generator →

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