#EDFA97#EDFA97

#EDFA97 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.4% C 0.124 H 114.9°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#EDFA97
RGBrgb(237, 250, 151)
HSLhsl(68, 91%, 79%)
HSVhsv(68, 40%, 98%)
CMYKcmyk(5.2%, 0%, 39.6%, 2%)
CIE-LABlab(95.42, -18.83, 46.00)
CIE-LCHlch(95.42, 49.71, 112.26°)
OKLaboklab(95.39% -0.052 0.112)
OKLCHoklch(95.39% 0.124 114.9)
XYZxyz(74.6971, 88.6109, 42.4407)
Luminance0.8861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDFA97 #A497FA
analogous
#FAD597 #EDFA97 #BBFA97
triadic
#EDFA97 #97EDFA #FA97ED
tetradic
#EDFA97 #97FAD5 #A497FA #FA97BB
square
#EDFA97 #97FAD5 #A497FA #FA97BB
split-complementary
#EDFA97 #97BBFA #D597FA
monochromatic
#D9F422 #E3F75D #EDFA97 #F7FDD1 #FAFEE2

Accessibility & contrast

On white

1.12
#EDFA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.72
#EDFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDFA97
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDFA97#FFFFFF#000000##000000
##EDFA971.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18F
Deuteranopia (green-blind)
#FFF39C
Tritanopia (blue-blind)
#F8F0E2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #edfa97;
/* rgb */ color: rgb(237, 250, 151);
/* oklch */ color: oklch(95.4% 0.124 114.9);
Tailwind
colors: {
  custom: {
    50: '#f4fbb7',
    500: '#edfa97',
    950: '#000000',
  },
}
SCSS
$custom: #edfa97;
$custom-light: #f4fbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#edfa97",
  "rgb": {
    "r": 237,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 67.879,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95389,
    "c": 0.12352,
    "h": 114.9
  },
  "luminance": 0.8861
}

Semantic roles & 50–950 ramp

primary
#EDFA97
secondary
#6C5BDA
accent
#00E61E
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EDFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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