#CEF057#CEF057

#CEF057 is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 90.2% C 0.180 H 120.8°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#CEF057
RGBrgb(206, 240, 87)
HSLhsl(73, 84%, 64%)
HSVhsv(73, 64%, 94%)
CMYKcmyk(14.2%, 0%, 63.7%, 5.9%)
CIE-LABlab(89.92, -31.64, 67.74)
CIE-LCHlch(89.92, 74.76, 115.04°)
OKLaboklab(90.23% -0.092 0.1542)
OKLCHoklch(90.23% 0.18 120.8)
XYZxyz(58.3348, 76.1302, 20.6364)
Luminance0.7613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF057 #7957F0
analogous
#F0C557 #CEF057 #82F057
triadic
#CEF057 #57CEF0 #F057CE
tetradic
#CEF057 #57F0C5 #7957F0 #F05782
square
#CEF057 #57F0C5 #7957F0 #F05782
split-complementary
#CEF057 #5782F0 #C557F0
monochromatic
#96BC11 #BEEB1F #CEF057 #DEF58F #EFFAC7

Accessibility & contrast

On white

1.29
#CEF057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#CEF057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF057
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF057#FFFFFF#000000##000000
##CEF0571.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE343
Deuteranopia (green-blind)
#FAE262
Tritanopia (blue-blind)
#D9E4D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #cef057;
/* rgb */ color: rgb(206, 240, 87);
/* oklch */ color: oklch(90.2% 0.180 120.8);
Tailwind
colors: {
  custom: {
    50: '#e0f58d',
    500: '#cef057',
    950: '#000000',
  },
}
SCSS
$custom: #cef057;
$custom-light: #e0f58d;
$custom-dark: #000000;
JSON
{
  "hex": "#cef057",
  "rgb": {
    "r": 206,
    "g": 240,
    "b": 87
  },
  "hsl": {
    "h": 73.333,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90225,
    "c": 0.17954,
    "h": 120.8
  },
  "luminance": 0.7613
}

Semantic roles & 50–950 ramp

primary
#CEF057
secondary
#4F31BA
accent
#05E036
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CEF057

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

Preview Lab → · Contrast checker → · Palette generator →

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