#CFE178#CFE178

#CFE178 is a very light, vivid yellow-green. Relative luminance 0.685; OKLCH L 87.4% C 0.132 H 117.2°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#CFE178
RGBrgb(207, 225, 120)
HSLhsl(70, 64%, 68%)
HSVhsv(70, 47%, 88%)
CMYKcmyk(8%, 0%, 46.7%, 11.8%)
CIE-LABlab(86.24, -21.41, 49.05)
CIE-LCHlch(86.24, 53.52, 113.58°)
OKLaboklab(87.39% -0.0603 0.1173)
OKLCHoklch(87.39% 0.132 117.2)
XYZxyz(56.0481, 68.4724, 28.0295)
Luminance0.6847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE178 #8A78E1
analogous
#E1BF78 #CFE178 #9AE178
triadic
#CFE178 #78CFE1 #E178CF
tetradic
#CFE178 #78E1BF #8A78E1 #E1789A
square
#CFE178 #78E1BF #8A78E1 #E1789A
split-complementary
#CFE178 #789AE1 #BF78E1
monochromatic
#9EB628 #BDD646 #CFE178 #E1ECAA #F3F7DC

Accessibility & contrast

On white

1.43
#CFE178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#CFE178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE178
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE178#FFFFFF#000000##000000
##CFE1781.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76F
Deuteranopia (green-blind)
#EBD87E
Tritanopia (blue-blind)
#D9D7C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe178;
/* rgb */ color: rgb(207, 225, 120);
/* oklch */ color: oklch(87.4% 0.132 117.2);
Tailwind
colors: {
  custom: {
    50: '#dfeaa1',
    500: '#cfe178',
    950: '#000000',
  },
}
SCSS
$custom: #cfe178;
$custom-light: #dfeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe178",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 70.286,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87394,
    "c": 0.13193,
    "h": 117.2
  },
  "luminance": 0.68472
}

Semantic roles & 50–950 ramp

primary
#CFE178
secondary
#5A46B7
accent
#1ACB38
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CFE178

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

Preview Lab → · Contrast checker → · Palette generator →

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