#EDF97A#EDF97A

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

Color values

HEX#EDF97A
RGBrgb(237, 249, 122)
HSLhsl(66, 91%, 73%)
HSVhsv(66, 51%, 98%)
CMYKcmyk(4.8%, 0%, 51%, 2.4%)
CIE-LABlab(94.81, -21.16, 58.88)
CIE-LCHlch(94.81, 62.57, 109.77°)
OKLaboklab(94.79% -0.061 0.1386)
OKLCHoklch(94.79% 0.151 113.8)
XYZxyz(72.3149, 87.1622, 31.4231)
Luminance0.8716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF97A #867AF9
analogous
#F9C57A #EDF97A #AEF97A
triadic
#EDF97A #7AEDF9 #F97AED
tetradic
#EDF97A #7AF9C5 #867AF9 #F97AAE
square
#EDF97A #7AF9C5 #867AF9 #F97AAE
split-complementary
#EDF97A #7AAEF9 #C57AF9
monochromatic
#D8EE0B #E5F63F #EDF97A #F5FCB5 #FBFEE2

Accessibility & contrast

On white

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

On black

18.43
#EDF97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF97A
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF97A#FFFFFF#000000##000000
##EDF97A1.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF181
Tritanopia (blue-blind)
#FAEDDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #edf97a;
/* rgb */ color: rgb(237, 249, 122);
/* oklch */ color: oklch(94.8% 0.151 113.8);
Tailwind
colors: {
  custom: {
    50: '#f5fba4',
    500: '#edf97a',
    950: '#000000',
  },
}
SCSS
$custom: #edf97a;
$custom-light: #f5fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#edf97a",
  "rgb": {
    "r": 237,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 65.669,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94789,
    "c": 0.15146,
    "h": 113.8
  },
  "luminance": 0.87161
}

Semantic roles & 50–950 ramp

primary
#EDF97A
secondary
#5042D5
accent
#00E616
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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