#CFE15F#CFE15F

#CFE15F is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.1% C 0.155 H 116.3°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#CFE15F
RGBrgb(207, 225, 95)
HSLhsl(68, 68%, 63%)
HSVhsv(68, 58%, 88%)
CMYKcmyk(8%, 0%, 57.8%, 11.8%)
CIE-LABlab(85.98, -23.60, 60.17)
CIE-LCHlch(85.98, 64.63, 111.42°)
OKLaboklab(87.1% -0.0689 0.1391)
OKLCHoklch(87.1% 0.155 116.3)
XYZxyz(54.7239, 67.9427, 21.0557)
Luminance0.6794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE15F #715FE1
analogous
#E1B25F #CFE15F #8EE15F
triadic
#CFE15F #5FCFE1 #E15FCF
tetradic
#CFE15F #5FE1B2 #715FE1 #E15F8E
square
#CFE15F #5FE1B2 #715FE1 #E15F8E
split-complementary
#CFE15F #5F8EE1 #B25FE1
monochromatic
#94A61F #C0D72B #CFE15F #DEEB93 #EEF4C6

Accessibility & contrast

On white

1.44
#CFE15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#CFE15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE15F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE15F#FFFFFF#000000##000000
##CFE15F1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD651
Deuteranopia (green-blind)
#EED867
Tritanopia (blue-blind)
#DBD5C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe15f;
/* rgb */ color: rgb(207, 225, 95);
/* oklch */ color: oklch(87.1% 0.155 116.3);
Tailwind
colors: {
  custom: {
    50: '#e0ea91',
    500: '#cfe15f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe15f;
$custom-light: #e0ea91;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe15f",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 95
  },
  "hsl": {
    "h": 68.308,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87097,
    "c": 0.15521,
    "h": 116.3
  },
  "luminance": 0.67942
}

Semantic roles & 50–950 ramp

primary
#CFE15F
secondary
#4B3BA9
accent
#15D02F
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE15F

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

Preview Lab → · Contrast checker → · Palette generator →

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