#EDF97D#EDF97D

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

Color values

HEX#EDF97D
RGBrgb(237, 249, 125)
HSLhsl(66, 91%, 73%)
HSVhsv(66, 50%, 98%)
CMYKcmyk(4.8%, 0%, 49.8%, 2.4%)
CIE-LABlab(94.84, -20.90, 57.55)
CIE-LCHlch(94.84, 61.23, 109.96°)
OKLaboklab(94.82% -0.06 0.136)
OKLCHoklch(94.82% 0.149 113.8)
XYZxyz(72.5036, 87.2377, 32.4172)
Luminance0.8724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF97D #897DF9
analogous
#F9C77D #EDF97D #AFF97D
triadic
#EDF97D #7DEDF9 #F97DED
tetradic
#EDF97D #7DF9C7 #897DF9 #F97DAF
square
#EDF97D #7DF9C7 #897DF9 #F97DAF
split-complementary
#EDF97D #7DAFF9 #C77DF9
monochromatic
#DAF00B #E5F642 #EDF97D #F5FCB7 #FBFEE2

Accessibility & contrast

On white

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

On black

18.45
#EDF97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF97D
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF97D#FFFFFF#000000##000000
##EDF97D1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #edf97d;
/* rgb */ color: rgb(237, 249, 125);
/* oklch */ color: oklch(94.8% 0.149 113.8);
Tailwind
colors: {
  custom: {
    50: '#f5fba5',
    500: '#edf97d',
    950: '#000000',
  },
}
SCSS
$custom: #edf97d;
$custom-light: #f5fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#edf97d",
  "rgb": {
    "r": 237,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 65.806,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94824,
    "c": 0.14866,
    "h": 113.8
  },
  "luminance": 0.87237
}

Semantic roles & 50–950 ramp

primary
#EDF97D
secondary
#5244D6
accent
#00E616
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF97D

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

Preview Lab → · Contrast checker → · Palette generator →

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