#CFDC7F#CFDC7F

#CFDC7F is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.4% C 0.118 H 115.4°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#CFDC7F
RGBrgb(207, 220, 127)
HSLhsl(68, 57%, 68%)
HSVhsv(68, 42%, 86%)
CMYKcmyk(5.9%, 0%, 42.3%, 13.7%)
CIE-LABlab(84.99, -18.24, 44.11)
CIE-LCHlch(84.99, 47.74, 112.47°)
OKLaboklab(86.42% -0.0508 0.1068)
OKLCHoklch(86.42% 0.118 115.4)
XYZxyz(55.1566, 65.9847, 29.9052)
Luminance0.6598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC7F #8C7FDC
analogous
#DCBA7F #CFDC7F #A0DC7F
triadic
#CFDC7F #7FCFDC #DC7FCF
tetradic
#CFDC7F #7FDCBA #8C7FDC #DC7FA0
square
#CFDC7F #7FDCBA #8C7FDC #DC7FA0
split-complementary
#CFDC7F #7FA0DC #BA7FDC
monochromatic
#9EB030 #BDCF4F #CFDC7F #E1E9AF #F3F6DF

Accessibility & contrast

On white

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

On black

14.20
#CFDC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC7F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC7F#FFFFFF#000000##000000
##CFDC7F1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D478
Deuteranopia (green-blind)
#E7D584
Tritanopia (blue-blind)
#D9D3C6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cfdc7f;
/* rgb */ color: rgb(207, 220, 127);
/* oklch */ color: oklch(86.4% 0.118 115.4);
Tailwind
colors: {
  custom: {
    50: '#dfe6a5',
    500: '#cfdc7f',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc7f;
$custom-light: #dfe6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc7f",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 127
  },
  "hsl": {
    "h": 68.387,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86421,
    "c": 0.11823,
    "h": 115.4
  },
  "luminance": 0.65984
}

Semantic roles & 50–950 ramp

primary
#CFDC7F
secondary
#5B4DB2
accent
#21C538
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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