#CFE151#CFE151

#CFE151 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.0% C 0.166 H 116.0°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#CFE151
RGBrgb(207, 225, 81)
HSLhsl(68, 71%, 60%)
HSVhsv(68, 64%, 88%)
CMYKcmyk(8%, 0%, 64%, 11.8%)
CIE-LABlab(85.86, -24.58, 65.86)
CIE-LCHlch(85.86, 70.29, 110.46°)
OKLaboklab(86.97% -0.073 0.1494)
OKLCHoklch(86.97% 0.166 116)
XYZxyz(54.1437, 67.7107, 18.0002)
Luminance0.6771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE151 #6351E1
analogous
#E1AB51 #CFE151 #87E151
triadic
#CFE151 #51CFE1 #E151CF
tetradic
#CFE151 #51E1AB #6351E1 #E15187
square
#CFE151 #51E1AB #6351E1 #E15187
split-complementary
#CFE151 #5187E1 #AB51E1
monochromatic
#8C9D1B #BBD124 #CFE151 #DDEA85 #ECF3B9

Accessibility & contrast

On white

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

On black

14.54
#CFE151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE151
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE151#FFFFFF#000000##000000
##CFE1511.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#EED85B
Tritanopia (blue-blind)
#DBD5C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe151;
/* rgb */ color: rgb(207, 225, 81);
/* oklch */ color: oklch(87.0% 0.166 116.0);
Tailwind
colors: {
  custom: {
    50: '#e1ea89',
    500: '#cfe151',
    950: '#000000',
  },
}
SCSS
$custom: #cfe151;
$custom-light: #e1ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe151",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 67.5,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.86966,
    "c": 0.16622,
    "h": 116
  },
  "luminance": 0.6771
}

Semantic roles & 50–950 ramp

primary
#CFE151
secondary
#4336A0
accent
#3AED51
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE151

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

Preview Lab → · Contrast checker → · Palette generator →

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