#CFE04F#CFE04F

#CFE04F is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 86.7% C 0.167 H 115.7°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#CFE04F
RGBrgb(207, 224, 79)
HSLhsl(67, 70%, 59%)
HSVhsv(67, 65%, 88%)
CMYKcmyk(7.6%, 0%, 64.7%, 12.2%)
CIE-LABlab(85.58, -24.22, 66.35)
CIE-LCHlch(85.58, 70.63, 110.06°)
OKLaboklab(86.73% -0.0722 0.1501)
OKLCHoklch(86.73% 0.167 115.7)
XYZxyz(53.8003, 67.1420, 17.5212)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE04F #604FE0
analogous
#E0A84F #CFE04F #87E04F
triadic
#CFE04F #4FCFE0 #E04FCF
tetradic
#CFE04F #4FE0A8 #604FE0 #E04F87
square
#CFE04F #4FE0A8 #604FE0 #E04F87
split-complementary
#CFE04F #4F87E0 #A84FE0
monochromatic
#8B9A1B #BACE24 #CFE04F #DDE983 #EBF2B7

Accessibility & contrast

On white

1.46
#CFE04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#CFE04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE04F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE04F#FFFFFF#000000##000000
##CFE04F1.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53B
Deuteranopia (green-blind)
#EED759
Tritanopia (blue-blind)
#DCD4C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfe04f;
/* rgb */ color: rgb(207, 224, 79);
/* oklch */ color: oklch(86.7% 0.167 115.7);
Tailwind
colors: {
  custom: {
    50: '#e1e987',
    500: '#cfe04f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe04f;
$custom-light: #e1e987;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe04f",
  "rgb": {
    "r": 207,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 67.034,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86732,
    "c": 0.16654,
    "h": 115.7
  },
  "luminance": 0.67141
}

Semantic roles & 50–950 ramp

primary
#CFE04F
secondary
#42369D
accent
#3BED50
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE04F

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

Preview Lab → · Contrast checker → · Palette generator →

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