#CFDC74#CFDC74

#CFDC74 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.3% C 0.130 H 115.0°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#CFDC74
RGBrgb(207, 220, 116)
HSLhsl(68, 60%, 66%)
HSVhsv(68, 47%, 86%)
CMYKcmyk(5.9%, 0%, 47.3%, 13.7%)
CIE-LABlab(84.85, -19.36, 49.27)
CIE-LCHlch(84.85, 52.94, 111.45°)
OKLaboklab(86.27% -0.0549 0.1175)
OKLCHoklch(86.27% 0.13 115)
XYZxyz(54.4784, 65.7134, 26.3337)
Luminance0.6571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC74 #8174DC
analogous
#DCB574 #CFDC74 #9BDC74
triadic
#CFDC74 #74CFDC #DC74CF
tetradic
#CFDC74 #74DCB5 #8174DC #DC749B
square
#CFDC74 #74DCB5 #8174DC #DC749B
split-complementary
#CFDC74 #749BDC #B574DC
monochromatic
#9BAB2B #BED043 #CFDC74 #E0E8A5 #F1F5D6

Accessibility & contrast

On white

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

On black

14.14
#CFDC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC74
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC74#FFFFFF#000000##000000
##CFDC741.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfdc74;
/* rgb */ color: rgb(207, 220, 116);
/* oklch */ color: oklch(86.3% 0.130 115.0);
Tailwind
colors: {
  custom: {
    50: '#dfe69e',
    500: '#cfdc74',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc74;
$custom-light: #dfe69e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc74",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 67.5,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86265,
    "c": 0.1297,
    "h": 115
  },
  "luminance": 0.65713
}

Semantic roles & 50–950 ramp

primary
#CFDC74
secondary
#5447AD
accent
#1EC733
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CFDC74

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

Preview Lab → · Contrast checker → · Palette generator →

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