#CFDC7E#CFDC7E

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

Color values

HEX#CFDC7E
RGBrgb(207, 220, 126)
HSLhsl(68, 57%, 68%)
HSVhsv(68, 43%, 86%)
CMYKcmyk(5.9%, 0%, 42.7%, 13.7%)
CIE-LABlab(84.98, -18.35, 44.59)
CIE-LCHlch(84.98, 48.22, 112.37°)
OKLaboklab(86.41% -0.0512 0.1078)
OKLCHoklch(86.41% 0.119 115.4)
XYZxyz(55.0917, 65.9588, 29.5637)
Luminance0.6596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC7E #8B7EDC
analogous
#DCBA7E #CFDC7E #A0DC7E
triadic
#CFDC7E #7ECFDC #DC7ECF
tetradic
#CFDC7E #7EDCBA #8B7EDC #DC7EA0
square
#CFDC7E #7EDCBA #8B7EDC #DC7EA0
split-complementary
#CFDC7E #7EA0DC #BA7EDC
monochromatic
#9EB030 #BDCF4E #CFDC7E #E1E9AE #F3F6DE

Accessibility & contrast

On white

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

On black

14.19
#CFDC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC7E
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC7E#FFFFFF#000000##000000
##CFDC7E1.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D376
Deuteranopia (green-blind)
#E7D583
Tritanopia (blue-blind)
#D9D3C5
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cfdc7e;
/* rgb */ color: rgb(207, 220, 126);
/* oklch */ color: oklch(86.4% 0.119 115.4);
Tailwind
colors: {
  custom: {
    50: '#dfe6a5',
    500: '#cfdc7e',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc7e;
$custom-light: #dfe6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc7e",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 126
  },
  "hsl": {
    "h": 68.298,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86406,
    "c": 0.11929,
    "h": 115.4
  },
  "luminance": 0.65958
}

Semantic roles & 50–950 ramp

primary
#CFDC7E
secondary
#5A4CB2
accent
#21C537
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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