#CFDC79#CFDC79

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

Color values

HEX#CFDC79
RGBrgb(207, 220, 121)
HSLhsl(68, 59%, 67%)
HSVhsv(68, 45%, 86%)
CMYKcmyk(5.9%, 0%, 45%, 13.7%)
CIE-LABlab(84.91, -18.87, 46.94)
CIE-LCHlch(84.91, 50.59, 111.90°)
OKLaboklab(86.33% -0.053 0.1127)
OKLCHoklch(86.33% 0.125 115.2)
XYZxyz(54.7771, 65.8329, 27.9068)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC79 #8679DC
analogous
#DCB879 #CFDC79 #9EDC79
triadic
#CFDC79 #79CFDC #DC79CF
tetradic
#CFDC79 #79DCB8 #8679DC #DC799E
square
#CFDC79 #79DCB8 #8679DC #DC799E
split-complementary
#CFDC79 #799EDC #B879DC
monochromatic
#9DAD2D #BECF48 #CFDC79 #E0E9AA #F2F5DA

Accessibility & contrast

On white

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

On black

14.17
#CFDC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC79
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC79#FFFFFF#000000##000000
##CFDC791.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D371
Deuteranopia (green-blind)
#E7D57E
Tritanopia (blue-blind)
#D9D2C5
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cfdc79;
/* rgb */ color: rgb(207, 220, 121);
/* oklch */ color: oklch(86.3% 0.125 115.2);
Tailwind
colors: {
  custom: {
    50: '#dfe6a1',
    500: '#cfdc79',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc79;
$custom-light: #dfe6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc79",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 67.879,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86334,
    "c": 0.12457,
    "h": 115.2
  },
  "luminance": 0.65832
}

Semantic roles & 50–950 ramp

primary
#CFDC79
secondary
#574AB0
accent
#1FC635
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDC79

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

Preview Lab → · Contrast checker → · Palette generator →

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