#CFE157#CFE157

#CFE157 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.0% C 0.162 H 116.2°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#CFE157
RGBrgb(207, 225, 87)
HSLhsl(68, 70%, 61%)
HSVhsv(68, 61%, 88%)
CMYKcmyk(8%, 0%, 61.3%, 11.8%)
CIE-LABlab(85.91, -24.18, 63.48)
CIE-LCHlch(85.91, 67.93, 110.85°)
OKLaboklab(87.02% -0.0713 0.1451)
OKLCHoklch(87.02% 0.162 116.2)
XYZxyz(54.3788, 67.8047, 19.2379)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE157 #6957E1
analogous
#E1AE57 #CFE157 #8AE157
triadic
#CFE157 #57CFE1 #E157CF
tetradic
#CFE157 #57E1AE #6957E1 #E1578A
square
#CFE157 #57E1AE #6957E1 #E1578A
split-complementary
#CFE157 #578AE1 #AE57E1
monochromatic
#90A11D #BED526 #CFE157 #DEEA8B #EDF4BF

Accessibility & contrast

On white

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

On black

14.56
#CFE157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE157
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE157#FFFFFF#000000##000000
##CFE1571.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe157;
/* rgb */ color: rgb(207, 225, 87);
/* oklch */ color: oklch(87.0% 0.162 116.2);
Tailwind
colors: {
  custom: {
    50: '#e0ea8c',
    500: '#cfe157',
    950: '#000000',
  },
}
SCSS
$custom: #cfe157;
$custom-light: #e0ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe157",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 67.826,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87019,
    "c": 0.1617,
    "h": 116.2
  },
  "luminance": 0.67804
}

Semantic roles & 50–950 ramp

primary
#CFE157
secondary
#4638A4
accent
#14D22D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE157

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

Preview Lab → · Contrast checker → · Palette generator →

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