#CFE152#CFE152

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

Color values

HEX#CFE152
RGBrgb(207, 225, 82)
HSLhsl(68, 70%, 60%)
HSVhsv(68, 64%, 88%)
CMYKcmyk(8%, 0%, 63.6%, 11.8%)
CIE-LABlab(85.87, -24.51, 65.47)
CIE-LCHlch(85.87, 69.91, 110.53°)
OKLaboklab(86.98% -0.0727 0.1487)
OKLCHoklch(86.98% 0.165 116.1)
XYZxyz(54.1815, 67.7258, 18.1991)
Luminance0.6773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE152 #6452E1
analogous
#E1AB52 #CFE152 #88E152
triadic
#CFE152 #52CFE1 #E152CF
tetradic
#CFE152 #52E1AB #6452E1 #E15288
square
#CFE152 #52E1AB #6452E1 #E15288
split-complementary
#CFE152 #5288E1 #AB52E1
monochromatic
#8D9D1B #BCD124 #CFE152 #DDEA86 #ECF3BA

Accessibility & contrast

On white

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

On black

14.55
#CFE152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE152
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE152#FFFFFF#000000##000000
##CFE1521.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#EED85C
Tritanopia (blue-blind)
#DBD5C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe152;
/* rgb */ color: rgb(207, 225, 82);
/* oklch */ color: oklch(87.0% 0.165 116.1);
Tailwind
colors: {
  custom: {
    50: '#e1ea89',
    500: '#cfe152',
    950: '#000000',
  },
}
SCSS
$custom: #cfe152;
$custom-light: #e1ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe152",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 67.552,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86975,
    "c": 0.16548,
    "h": 116.1
  },
  "luminance": 0.67725
}

Semantic roles & 50–950 ramp

primary
#CFE152
secondary
#4437A1
accent
#13D22B
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE152

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

Preview Lab → · Contrast checker → · Palette generator →

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