#CFE752#CFE752

#CFE752 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.3% C 0.172 H 117.9°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#CFE752
RGBrgb(207, 231, 82)
HSLhsl(70, 76%, 61%)
HSVhsv(70, 65%, 91%)
CMYKcmyk(10.4%, 0%, 64.5%, 9.4%)
CIE-LABlab(87.50, -27.37, 67.18)
CIE-LCHlch(87.50, 72.54, 112.16°)
OKLaboklab(88.28% -0.0807 0.1523)
OKLCHoklch(88.28% 0.172 117.9)
XYZxyz(55.8321, 71.0269, 18.7493)
Luminance0.7103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE752 #6A52E7
analogous
#E7B452 #CFE752 #85E752
triadic
#CFE752 #52CFE7 #E752CF
tetradic
#CFE752 #52E7B4 #6A52E7 #E75285
square
#CFE752 #52E7B4 #6A52E7 #E75285
split-complementary
#CFE752 #5285E7 #B452E7
monochromatic
#90A717 #BEDD1F #CFE752 #DEEE88 #EDF6BD

Accessibility & contrast

On white

1.38
#CFE752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#CFE752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE752
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE752#FFFFFF#000000##000000
##CFE7521.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3E
Deuteranopia (green-blind)
#F3DC5D
Tritanopia (blue-blind)
#DBDBC9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cfe752;
/* rgb */ color: rgb(207, 231, 82);
/* oklch */ color: oklch(88.3% 0.172 117.9);
Tailwind
colors: {
  custom: {
    50: '#e1ee8a',
    500: '#cfe752',
    950: '#000000',
  },
}
SCSS
$custom: #cfe752;
$custom-light: #e1ee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe752",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 69.664,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88282,
    "c": 0.17231,
    "h": 117.9
  },
  "luminance": 0.71026
}

Semantic roles & 50–950 ramp

primary
#CFE752
secondary
#4734A9
accent
#0ED82E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CFE752

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

Preview Lab → · Contrast checker → · Palette generator →

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