#CFE54F#CFE54F

#CFE54F is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 87.8% C 0.172 H 117.3°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#CFE54F
RGBrgb(207, 229, 79)
HSLhsl(69, 74%, 60%)
HSVhsv(69, 66%, 90%)
CMYKcmyk(9.6%, 0%, 65.5%, 10.2%)
CIE-LABlab(86.93, -26.61, 67.75)
CIE-LCHlch(86.93, 72.79, 111.44°)
OKLaboklab(87.82% -0.0788 0.1531)
OKLCHoklch(87.82% 0.172 117.3)
XYZxyz(55.1639, 69.8691, 17.9757)
Luminance0.6987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE54F #654FE5
analogous
#E5B04F #CFE54F #84E54F
triadic
#CFE54F #4FCFE5 #E54FCF
tetradic
#CFE54F #4FE5B0 #654FE5 #E54F84
square
#CFE54F #4FE5B0 #654FE5 #E54F84
split-complementary
#CFE54F #4F84E5 #B04FE5
monochromatic
#8DA218 #BCD720 #CFE54F #DEED84 #ECF5BA

Accessibility & contrast

On white

1.40
#CFE54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#CFE54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE54F
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE54F#FFFFFF#000000##000000
##CFE54F1.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D93A
Deuteranopia (green-blind)
#F2DB5A
Tritanopia (blue-blind)
#DBD9C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cfe54f;
/* rgb */ color: rgb(207, 229, 79);
/* oklch */ color: oklch(87.8% 0.172 117.3);
Tailwind
colors: {
  custom: {
    50: '#e1ed88',
    500: '#cfe54f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe54f;
$custom-light: #e1ed88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe54f",
  "rgb": {
    "r": 207,
    "g": 229,
    "b": 79
  },
  "hsl": {
    "h": 68.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87821,
    "c": 0.17216,
    "h": 117.3
  },
  "luminance": 0.69869
}

Semantic roles & 50–950 ramp

primary
#CFE54F
secondary
#4434A4
accent
#0FD62C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE54F

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

Preview Lab → · Contrast checker → · Palette generator →

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