#CFD778#CFD778

#CFD778 is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.3% C 0.119 H 112.9°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#CFD778
RGBrgb(207, 215, 120)
HSLhsl(65, 54%, 66%)
HSVhsv(65, 44%, 84%)
CMYKcmyk(3.7%, 0%, 44.2%, 15.7%)
CIE-LABlab(83.56, -16.50, 45.76)
CIE-LCHlch(83.56, 48.65, 109.83°)
OKLaboklab(85.25% -0.0464 0.11)
OKLCHoklch(85.25% 0.119 112.9)
XYZxyz(53.4235, 63.2232, 27.1546)
Luminance0.6322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD778 #8078D7
analogous
#D7AF78 #CFD778 #9FD778
triadic
#CFD778 #78CFD7 #D778CF
tetradic
#CFD778 #78D7AF #8078D7 #D7789F
square
#CFD778 #78D7AF #8078D7 #D7789F
split-complementary
#CFD778 #789FD7 #AF78D7
monochromatic
#9AA431 #BEC949 #CFD778 #E0E5A7 #F1F3D6

Accessibility & contrast

On white

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

On black

13.64
#CFD778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD778
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD778#FFFFFF#000000##000000
##CFD7781.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF70
Deuteranopia (green-blind)
#E3D17D
Tritanopia (blue-blind)
#DACDC0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd778;
/* rgb */ color: rgb(207, 215, 120);
/* oklch */ color: oklch(85.3% 0.119 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe3a1',
    500: '#cfd778',
    950: '#000000',
  },
}
SCSS
$custom: #cfd778;
$custom-light: #dfe3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd778",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 65.053,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85251,
    "c": 0.11941,
    "h": 112.9
  },
  "luminance": 0.63222
}

Semantic roles & 50–950 ramp

primary
#CFD778
secondary
#534BA8
accent
#24C231
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD778

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

Preview Lab → · Contrast checker → · Palette generator →

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