#CFDF78#CFDF78

#CFDF78 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.0% C 0.129 H 116.4°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#CFDF78
RGBrgb(207, 223, 120)
HSLhsl(69, 62%, 67%)
HSVhsv(69, 46%, 87%)
CMYKcmyk(7.2%, 0%, 46.2%, 12.5%)
CIE-LABlab(85.70, -20.44, 48.40)
CIE-LCHlch(85.70, 52.53, 112.90°)
OKLaboklab(86.96% -0.0576 0.1159)
OKLCHoklch(86.96% 0.129 116.4)
XYZxyz(55.5105, 67.3974, 27.8503)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF78 #8878DF
analogous
#DFBB78 #CFDF78 #9CDF78
triadic
#CFDF78 #78CFDF #DF78CF
tetradic
#CFDF78 #78DFBB #8878DF #DF789C
square
#CFDF78 #78DFBB #8878DF #DF789C
split-complementary
#CFDF78 #789CDF #BB78DF
monochromatic
#9DB22A #BDD347 #CFDF78 #E1EBA9 #F2F6DB

Accessibility & contrast

On white

1.45
#CFDF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#CFDF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF78
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF78#FFFFFF#000000##000000
##CFDF781.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD66F
Deuteranopia (green-blind)
#EAD77D
Tritanopia (blue-blind)
#D9D5C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfdf78;
/* rgb */ color: rgb(207, 223, 120);
/* oklch */ color: oklch(87.0% 0.129 116.4);
Tailwind
colors: {
  custom: {
    50: '#dfe9a1',
    500: '#cfdf78',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf78;
$custom-light: #dfe9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf78",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 69.32,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86964,
    "c": 0.12939,
    "h": 116.4
  },
  "luminance": 0.67397
}

Semantic roles & 50–950 ramp

primary
#CFDF78
secondary
#5847B4
accent
#1CC937
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDF78

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

Preview Lab → · Contrast checker → · Palette generator →

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