#EDF97F#EDF97F

#EDF97F is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.8% C 0.147 H 113.8°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#EDF97F
RGBrgb(237, 249, 127)
HSLhsl(66, 91%, 74%)
HSVhsv(66, 49%, 98%)
CMYKcmyk(4.8%, 0%, 49%, 2.4%)
CIE-LABlab(94.86, -20.72, 56.67)
CIE-LCHlch(94.86, 60.34, 110.09°)
OKLaboklab(94.85% -0.0593 0.1342)
OKLCHoklch(94.85% 0.147 113.8)
XYZxyz(72.6327, 87.2893, 33.0968)
Luminance0.8729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF97F #8B7FF9
analogous
#F9C87F #EDF97F #B0F97F
triadic
#EDF97F #7FEDF9 #F97FED
tetradic
#EDF97F #7FF9C8 #8B7FF9 #F97FB0
square
#EDF97F #7FF9C8 #8B7FF9 #F97FB0
split-complementary
#EDF97F #7FB0F9 #C87FF9
monochromatic
#DCF20B #E5F645 #EDF97F #F5FCB9 #FBFEE2

Accessibility & contrast

On white

1.14
#EDF97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#EDF97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF97F
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF97F#FFFFFF#000000##000000
##EDF97F1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF285
Tritanopia (blue-blind)
#FAEDDD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #edf97f;
/* rgb */ color: rgb(237, 249, 127);
/* oklch */ color: oklch(94.8% 0.147 113.8);
Tailwind
colors: {
  custom: {
    50: '#f5fba7',
    500: '#edf97f',
    950: '#000000',
  },
}
SCSS
$custom: #edf97f;
$custom-light: #f5fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#edf97f",
  "rgb": {
    "r": 237,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 65.902,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94849,
    "c": 0.14676,
    "h": 113.8
  },
  "luminance": 0.87288
}

Semantic roles & 50–950 ramp

primary
#EDF97F
secondary
#5446D6
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #EDF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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