#EDFC97#EDFC97

#EDFC97 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 95.8% C 0.126 H 115.7°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#EDFC97
RGBrgb(237, 252, 151)
HSLhsl(69, 94%, 79%)
HSVhsv(69, 40%, 99%)
CMYKcmyk(6%, 0%, 40.1%, 1.2%)
CIE-LABlab(95.94, -19.80, 46.66)
CIE-LCHlch(95.94, 50.69, 112.99°)
OKLaboklab(95.81% -0.0547 0.1135)
OKLCHoklch(95.81% 0.126 115.7)
XYZxyz(75.3219, 89.8604, 42.6490)
Luminance0.8986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDFC97 #A697FC
analogous
#FCD997 #EDFC97 #BBFC97
triadic
#EDFC97 #97EDFC #FC97ED
tetradic
#EDFC97 #97FCD9 #A697FC #FC97BB
square
#EDFC97 #97FCD9 #A697FC #FC97BB
split-complementary
#EDFC97 #97BBFC #D997FC
monochromatic
#D8F920 #E3FA5C #EDFC97 #F7FED2 #FAFEE1

Accessibility & contrast

On white

1.11
#EDFC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.97
#EDFC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDFC97
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDFC97#FFFFFF#000000##000000
##EDFC971.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38F
Deuteranopia (green-blind)
#FFF49C
Tritanopia (blue-blind)
#F7F2E3
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #edfc97;
/* rgb */ color: rgb(237, 252, 151);
/* oklch */ color: oklch(95.8% 0.126 115.7);
Tailwind
colors: {
  custom: {
    50: '#f4fdb7',
    500: '#edfc97',
    950: '#000000',
  },
}
SCSS
$custom: #edfc97;
$custom-light: #f4fdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#edfc97",
  "rgb": {
    "r": 237,
    "g": 252,
    "b": 151
  },
  "hsl": {
    "h": 68.911,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95805,
    "c": 0.12605,
    "h": 115.7
  },
  "luminance": 0.8986
}

Semantic roles & 50–950 ramp

primary
#EDFC97
secondary
#6D5ADD
accent
#00E622
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EDFC97

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

Preview Lab → · Contrast checker → · Palette generator →

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