#CFE351#CFE351

#CFE351 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.4% C 0.168 H 116.7°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#CFE351
RGBrgb(207, 227, 81)
HSLhsl(68, 72%, 60%)
HSVhsv(68, 64%, 89%)
CMYKcmyk(8.8%, 0%, 64.3%, 11%)
CIE-LABlab(86.40, -25.53, 66.43)
CIE-LCHlch(86.40, 71.16, 111.02°)
OKLaboklab(87.4% -0.0756 0.1505)
OKLCHoklch(87.4% 0.168 116.7)
XYZxyz(54.6876, 68.7983, 18.1815)
Luminance0.6880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE351 #6551E3
analogous
#E3AE51 #CFE351 #86E351
triadic
#CFE351 #51CFE3 #E351CF
tetradic
#CFE351 #51E3AE #6551E3 #E35186
square
#CFE351 #51E3AE #6551E3 #E35186
split-complementary
#CFE351 #5186E3 #AE51E3
monochromatic
#8DA01A #BCD522 #CFE351 #DEEB86 #ECF4BA

Accessibility & contrast

On white

1.42
#CFE351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#CFE351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE351
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE351#FFFFFF#000000##000000
##CFE3511.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83D
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#DBD7C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe351;
/* rgb */ color: rgb(207, 227, 81);
/* oklch */ color: oklch(87.4% 0.168 116.7);
Tailwind
colors: {
  custom: {
    50: '#e1eb89',
    500: '#cfe351',
    950: '#000000',
  },
}
SCSS
$custom: #cfe351;
$custom-light: #e1eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe351",
  "rgb": {
    "r": 207,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 68.219,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87401,
    "c": 0.16847,
    "h": 116.7
  },
  "luminance": 0.68798
}

Semantic roles & 50–950 ramp

primary
#CFE351
secondary
#4435A3
accent
#11D42C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE351

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

Preview Lab → · Contrast checker → · Palette generator →

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