#CFE052#CFE052

#CFE052 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 86.8% C 0.164 H 115.7°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#CFE052
RGBrgb(207, 224, 82)
HSLhsl(67, 70%, 60%)
HSVhsv(67, 63%, 88%)
CMYKcmyk(7.6%, 0%, 63.4%, 12.2%)
CIE-LABlab(85.60, -24.03, 65.18)
CIE-LCHlch(85.60, 69.47, 110.24°)
OKLaboklab(86.76% -0.0713 0.1481)
OKLCHoklch(86.76% 0.164 115.7)
XYZxyz(53.9120, 67.1867, 18.1093)
Luminance0.6719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE052 #6352E0
analogous
#E0AA52 #CFE052 #88E052
triadic
#CFE052 #52CFE0 #E052CF
tetradic
#CFE052 #52E0AA #6352E0 #E05288
square
#CFE052 #52E0AA #6352E0 #E05288
split-complementary
#CFE052 #5288E0 #AA52E0
monochromatic
#8C9C1C #BBD025 #CFE052 #DDE986 #ECF3BA

Accessibility & contrast

On white

1.45
#CFE052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#CFE052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE052
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE052#FFFFFF#000000##000000
##CFE0521.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53F
Deuteranopia (green-blind)
#EED75C
Tritanopia (blue-blind)
#DBD4C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfe052;
/* rgb */ color: rgb(207, 224, 82);
/* oklch */ color: oklch(86.8% 0.164 115.7);
Tailwind
colors: {
  custom: {
    50: '#e1e989',
    500: '#cfe052',
    950: '#000000',
  },
}
SCSS
$custom: #cfe052;
$custom-light: #e1e989;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe052",
  "rgb": {
    "r": 207,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 67.183,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.86757,
    "c": 0.16436,
    "h": 115.7
  },
  "luminance": 0.67186
}

Semantic roles & 50–950 ramp

primary
#CFE052
secondary
#43379F
accent
#3BEC51
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE052

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

Preview Lab → · Contrast checker → · Palette generator →

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