#CFEF57#CFEF57

#CFEF57 is a very light, vivid yellow-green. Relative luminance 0.757; OKLCH L 90.1% C 0.178 H 120.3°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#CFEF57
RGBrgb(207, 239, 87)
HSLhsl(73, 83%, 64%)
HSVhsv(73, 64%, 94%)
CMYKcmyk(13.4%, 0%, 63.6%, 6.3%)
CIE-LABlab(89.71, -30.79, 67.54)
CIE-LCHlch(89.71, 74.23, 114.50°)
OKLaboklab(90.08% -0.0897 0.1537)
OKLCHoklch(90.08% 0.178 120.3)
XYZxyz(58.3198, 75.6867, 20.5516)
Luminance0.7569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF57 #7757EF
analogous
#EFC357 #CFEF57 #83EF57
triadic
#CFEF57 #57CFEF #EF57CF
tetradic
#CFEF57 #57EFC3 #7757EF #EF5783
square
#CFEF57 #57EFC3 #7757EF #EF5783
split-complementary
#CFEF57 #5783EF #C357EF
monochromatic
#96BA12 #BFEA1F #CFEF57 #DFF48F #EFFAC7

Accessibility & contrast

On white

1.30
#CFEF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#CFEF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEF57
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEF57#FFFFFF#000000##000000
##CFEF571.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE243
Deuteranopia (green-blind)
#F9E262
Tritanopia (blue-blind)
#DAE3D0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #cfef57;
/* rgb */ color: rgb(207, 239, 87);
/* oklch */ color: oklch(90.1% 0.178 120.3);
Tailwind
colors: {
  custom: {
    50: '#e1f48d',
    500: '#cfef57',
    950: '#000000',
  },
}
SCSS
$custom: #cfef57;
$custom-light: #e1f48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef57",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 87
  },
  "hsl": {
    "h": 72.632,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90076,
    "c": 0.17799,
    "h": 120.3
  },
  "luminance": 0.75687
}

Semantic roles & 50–950 ramp

primary
#CFEF57
secondary
#4E31B9
accent
#06DF34
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CFEF57

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

Preview Lab → · Contrast checker → · Palette generator →

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