#CFE257#CFE257

#CFE257 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.2% C 0.163 H 116.5°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#CFE257
RGBrgb(207, 226, 87)
HSLhsl(68, 71%, 61%)
HSVhsv(68, 62%, 89%)
CMYKcmyk(8.4%, 0%, 61.5%, 11.4%)
CIE-LABlab(86.18, -24.66, 63.77)
CIE-LCHlch(86.18, 68.37, 111.14°)
OKLaboklab(87.24% -0.0726 0.1458)
OKLCHoklch(87.24% 0.163 116.5)
XYZxyz(54.6499, 68.3469, 19.3283)
Luminance0.6835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE257 #6A57E2
analogous
#E2AF57 #CFE257 #8AE257
triadic
#CFE257 #57CFE2 #E257CF
tetradic
#CFE257 #57E2AF #6A57E2 #E2578A
square
#CFE257 #57E2AF #6A57E2 #E2578A
split-complementary
#CFE257 #578AE2 #AF57E2
monochromatic
#90A31C #BED725 #CFE257 #DEEB8B #EDF4BF

Accessibility & contrast

On white

1.43
#CFE257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#CFE257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE257
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE257#FFFFFF#000000##000000
##CFE2571.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D746
Deuteranopia (green-blind)
#EFD960
Tritanopia (blue-blind)
#DBD6C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe257;
/* rgb */ color: rgb(207, 226, 87);
/* oklch */ color: oklch(87.2% 0.163 116.5);
Tailwind
colors: {
  custom: {
    50: '#e0eb8c',
    500: '#cfe257',
    950: '#000000',
  },
}
SCSS
$custom: #cfe257;
$custom-light: #e0eb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe257",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 68.201,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87236,
    "c": 0.16285,
    "h": 116.5
  },
  "luminance": 0.68346
}

Semantic roles & 50–950 ramp

primary
#CFE257
secondary
#4738A5
accent
#13D32D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE257

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

Preview Lab → · Contrast checker → · Palette generator →

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