#CFE159#CFE159

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

Color values

HEX#CFE159
RGBrgb(207, 225, 89)
HSLhsl(68, 69%, 62%)
HSVhsv(68, 60%, 88%)
CMYKcmyk(8%, 0%, 60.4%, 11.8%)
CIE-LABlab(85.93, -24.04, 62.66)
CIE-LCHlch(85.93, 67.12, 110.99°)
OKLaboklab(87.04% -0.0707 0.1437)
OKLCHoklch(87.04% 0.16 116.2)
XYZxyz(54.4616, 67.8378, 19.6742)
Luminance0.6784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE159 #6B59E1
analogous
#E1AF59 #CFE159 #8BE159
triadic
#CFE159 #59CFE1 #E159CF
tetradic
#CFE159 #59E1AF #6B59E1 #E1598B
square
#CFE159 #59E1AF #6B59E1 #E1598B
split-complementary
#CFE159 #598BE1 #AF59E1
monochromatic
#91A21D #BFD627 #CFE159 #DEEA8D #EDF4C1

Accessibility & contrast

On white

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

On black

14.57
#CFE159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE159
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE159#FFFFFF#000000##000000
##CFE1591.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe159;
/* rgb */ color: rgb(207, 225, 89);
/* oklch */ color: oklch(87.0% 0.160 116.2);
Tailwind
colors: {
  custom: {
    50: '#e0ea8d',
    500: '#cfe159',
    950: '#000000',
  },
}
SCSS
$custom: #cfe159;
$custom-light: #e0ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe159",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 89
  },
  "hsl": {
    "h": 67.941,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87038,
    "c": 0.16013,
    "h": 116.2
  },
  "luminance": 0.67837
}

Semantic roles & 50–950 ramp

primary
#CFE159
secondary
#4739A5
accent
#14D12D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE159

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

Preview Lab → · Contrast checker → · Palette generator →

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