#EDF97B#EDF97B

#EDF97B 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.44:1 contrast (WCAG AA passes).

Color values

HEX#EDF97B
RGBrgb(237, 249, 123)
HSLhsl(66, 91%, 73%)
HSVhsv(66, 51%, 98%)
CMYKcmyk(4.8%, 0%, 50.6%, 2.4%)
CIE-LABlab(94.82, -21.07, 58.44)
CIE-LCHlch(94.82, 62.12, 109.83°)
OKLaboklab(94.8% -0.0607 0.1378)
OKLCHoklch(94.8% 0.151 113.8)
XYZxyz(72.3772, 87.1871, 31.7511)
Luminance0.8719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF97B #877BF9
analogous
#F9C67B #EDF97B #AEF97B
triadic
#EDF97B #7BEDF9 #F97BED
tetradic
#EDF97B #7BF9C6 #877BF9 #F97BAE
square
#EDF97B #7BF9C6 #877BF9 #F97BAE
split-complementary
#EDF97B #7BAEF9 #C67BF9
monochromatic
#D9EF0B #E5F640 #EDF97B #F5FCB6 #FBFEE2

Accessibility & contrast

On white

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

On black

18.44
#EDF97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF97B
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF97B#FFFFFF#000000##000000
##EDF97B1.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #edf97b;
/* rgb */ color: rgb(237, 249, 123);
/* oklch */ color: oklch(94.8% 0.151 113.8);
Tailwind
colors: {
  custom: {
    50: '#f5fba4',
    500: '#edf97b',
    950: '#000000',
  },
}
SCSS
$custom: #edf97b;
$custom-light: #f5fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#edf97b",
  "rgb": {
    "r": 237,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 65.714,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.948,
    "c": 0.15054,
    "h": 113.8
  },
  "luminance": 0.87186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EDF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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