#EDFA7B#EDFA7B

#EDFA7B is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.0% C 0.152 H 114.1°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#EDFA7B
RGBrgb(237, 250, 123)
HSLhsl(66, 93%, 73%)
HSVhsv(66, 51%, 98%)
CMYKcmyk(5.2%, 0%, 50.8%, 2%)
CIE-LABlab(95.08, -21.55, 58.75)
CIE-LCHlch(95.08, 62.58, 110.15°)
OKLaboklab(95.01% -0.0621 0.1384)
OKLCHoklch(95.01% 0.152 114.1)
XYZxyz(72.6871, 87.8069, 31.8544)
Luminance0.8781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDFA7B #887BFA
analogous
#FAC87B #EDFA7B #ADFA7B
triadic
#EDFA7B #7BEDFA #FA7BED
tetradic
#EDFA7B #7BFAC8 #887BFA #FA7BAD
square
#EDFA7B #7BFAC8 #887BFA #FA7BAD
split-complementary
#EDFA7B #7BADFA #C87BFA
monochromatic
#DAF109 #E5F840 #EDFA7B #F5FCB6 #FBFEE2

Accessibility & contrast

On white

1.13
#EDFA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#EDFA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDFA7B
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDFA7B#FFFFFF#000000##000000
##EDFA7B1.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06F
Deuteranopia (green-blind)
#FFF282
Tritanopia (blue-blind)
#FAEEDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #edfa7b;
/* rgb */ color: rgb(237, 250, 123);
/* oklch */ color: oklch(95.0% 0.152 114.1);
Tailwind
colors: {
  custom: {
    50: '#f5fba4',
    500: '#edfa7b',
    950: '#000000',
  },
}
SCSS
$custom: #edfa7b;
$custom-light: #f5fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#edfa7b",
  "rgb": {
    "r": 237,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 66.142,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.9501,
    "c": 0.1517,
    "h": 114.1
  },
  "luminance": 0.87806
}

Semantic roles & 50–950 ramp

primary
#EDFA7B
secondary
#5242D7
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDFA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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