#CFE158#CFE158

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

Color values

HEX#CFE158
RGBrgb(207, 225, 88)
HSLhsl(68, 70%, 61%)
HSVhsv(68, 61%, 88%)
CMYKcmyk(8%, 0%, 60.9%, 11.8%)
CIE-LABlab(85.92, -24.11, 63.07)
CIE-LCHlch(85.92, 67.52, 110.92°)
OKLaboklab(87.03% -0.071 0.1444)
OKLCHoklch(87.03% 0.161 116.2)
XYZxyz(54.4199, 67.8211, 19.4546)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE158 #6A58E1
analogous
#E1AF58 #CFE158 #8BE158
triadic
#CFE158 #58CFE1 #E158CF
tetradic
#CFE158 #58E1AF #6A58E1 #E1588B
square
#CFE158 #58E1AF #6A58E1 #E1588B
split-complementary
#CFE158 #588BE1 #AF58E1
monochromatic
#90A21D #BED526 #CFE158 #DEEA8C #EDF4C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFE158#FFFFFF#000000##000000
##CFE1581.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)
#F0D648
Deuteranopia (green-blind)
#EED861
Tritanopia (blue-blind)
#DBD5C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe158;
/* rgb */ color: rgb(207, 225, 88);
/* oklch */ color: oklch(87.0% 0.161 116.2);
Tailwind
colors: {
  custom: {
    50: '#e0ea8d',
    500: '#cfe158',
    950: '#000000',
  },
}
SCSS
$custom: #cfe158;
$custom-light: #e0ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe158",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 67.883,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87028,
    "c": 0.16091,
    "h": 116.2
  },
  "luminance": 0.6782
}

Semantic roles & 50–950 ramp

primary
#CFE158
secondary
#4739A4
accent
#14D22D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE158

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

Preview Lab → · Contrast checker → · Palette generator →

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