#CFE252#CFE252

#CFE252 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.2% C 0.167 H 116.4°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#CFE252
RGBrgb(207, 226, 82)
HSLhsl(68, 71%, 60%)
HSVhsv(68, 64%, 89%)
CMYKcmyk(8.4%, 0%, 63.7%, 11.4%)
CIE-LABlab(86.14, -24.99, 65.75)
CIE-LCHlch(86.14, 70.34, 110.81°)
OKLaboklab(87.19% -0.074 0.1493)
OKLCHoklch(87.19% 0.167 116.4)
XYZxyz(54.4526, 68.2680, 18.2895)
Luminance0.6827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE252 #6552E2
analogous
#E2AD52 #CFE252 #87E252
triadic
#CFE252 #52CFE2 #E252CF
tetradic
#CFE252 #52E2AD #6552E2 #E25287
square
#CFE252 #52E2AD #6552E2 #E25287
split-complementary
#CFE252 #5287E2 #AD52E2
monochromatic
#8D9F1B #BCD323 #CFE252 #DEEB86 #ECF4BB

Accessibility & contrast

On white

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

On black

14.65
#CFE252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE252
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE252#FFFFFF#000000##000000
##CFE2521.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe252;
/* rgb */ color: rgb(207, 226, 82);
/* oklch */ color: oklch(87.2% 0.167 116.4);
Tailwind
colors: {
  custom: {
    50: '#e1eb89',
    500: '#cfe252',
    950: '#000000',
  },
}
SCSS
$custom: #cfe252;
$custom-light: #e1eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe252",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 67.917,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87192,
    "c": 0.16662,
    "h": 116.4
  },
  "luminance": 0.68267
}

Semantic roles & 50–950 ramp

primary
#CFE252
secondary
#4436A2
accent
#12D32C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE252

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

Preview Lab → · Contrast checker → · Palette generator →

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