#CFE378#CFE378

#CFE378 is a very light, vivid yellow-green. Relative luminance 0.696; OKLCH L 87.8% C 0.134 H 118.0°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#CFE378
RGBrgb(207, 227, 120)
HSLhsl(71, 66%, 68%)
HSVhsv(71, 47%, 89%)
CMYKcmyk(8.8%, 0%, 47.1%, 11%)
CIE-LABlab(86.78, -22.38, 49.71)
CIE-LCHlch(86.78, 54.51, 114.24°)
OKLaboklab(87.83% -0.0631 0.1188)
OKLCHoklch(87.83% 0.134 118)
XYZxyz(56.5919, 69.5600, 28.2108)
Luminance0.6956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE378 #8C78E3
analogous
#E3C178 #CFE378 #99E378
triadic
#CFE378 #78CFE3 #E378CF
tetradic
#CFE378 #78E3C1 #8C78E3 #E37899
square
#CFE378 #78E3C1 #8C78E3 #E37899
split-complementary
#CFE378 #7899E3 #C178E3
monochromatic
#9EBA27 #BDD845 #CFE378 #E1EEAB #F3F8DD

Accessibility & contrast

On white

1.41
#CFE378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#CFE378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE378
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE378#FFFFFF#000000##000000
##CFE3781.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96F
Deuteranopia (green-blind)
#EDDA7E
Tritanopia (blue-blind)
#D9D9CA
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe378;
/* rgb */ color: rgb(207, 227, 120);
/* oklch */ color: oklch(87.8% 0.134 118.0);
Tailwind
colors: {
  custom: {
    50: '#dfeba1',
    500: '#cfe378',
    950: '#000000',
  },
}
SCSS
$custom: #cfe378;
$custom-light: #dfeba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe378",
  "rgb": {
    "r": 207,
    "g": 227,
    "b": 120
  },
  "hsl": {
    "h": 71.215,
    "s": 65.644,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87825,
    "c": 0.13449,
    "h": 118
  },
  "luminance": 0.6956
}

Semantic roles & 50–950 ramp

primary
#CFE378
secondary
#5B45BA
accent
#18CD3A
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CFE378

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

Preview Lab → · Contrast checker → · Palette generator →

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