#CFE24F#CFE24F

#CFE24F is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.2% C 0.169 H 116.3°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#CFE24F
RGBrgb(207, 226, 79)
HSLhsl(68, 72%, 60%)
HSVhsv(68, 65%, 89%)
CMYKcmyk(8.4%, 0%, 65%, 11.4%)
CIE-LABlab(86.12, -25.18, 66.91)
CIE-LCHlch(86.12, 71.49, 110.62°)
OKLaboklab(87.17% -0.0748 0.1513)
OKLCHoklch(87.17% 0.169 116.3)
XYZxyz(54.3410, 68.2233, 17.7014)
Luminance0.6822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE24F #624FE2
analogous
#E2AB4F #CFE24F #86E24F
triadic
#CFE24F #4FCFE2 #E24FCF
tetradic
#CFE24F #4FE2AB #624FE2 #E24F86
square
#CFE24F #4FE2AB #624FE2 #E24F86
split-complementary
#CFE24F #4F86E2 #AB4FE2
monochromatic
#8C9D1A #BBD122 #CFE24F #DDEB84 #ECF3B8

Accessibility & contrast

On white

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

On black

14.64
#CFE24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE24F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE24F#FFFFFF#000000##000000
##CFE24F1.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73B
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#DBD6C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe24f;
/* rgb */ color: rgb(207, 226, 79);
/* oklch */ color: oklch(87.2% 0.169 116.3);
Tailwind
colors: {
  custom: {
    50: '#e1eb88',
    500: '#cfe24f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe24f;
$custom-light: #e1eb88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe24f",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 79
  },
  "hsl": {
    "h": 67.755,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87167,
    "c": 0.16878,
    "h": 116.3
  },
  "luminance": 0.68223
}

Semantic roles & 50–950 ramp

primary
#CFE24F
secondary
#4335A0
accent
#39EE51
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE24F

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

Preview Lab → · Contrast checker → · Palette generator →

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