#EDF54D#EDF54D

#EDF54D is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.5% C 0.182 H 112.1°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#EDF54D
RGBrgb(237, 245, 77)
HSLhsl(63, 89%, 63%)
HSVhsv(63, 69%, 96%)
CMYKcmyk(3.3%, 0%, 68.6%, 3.9%)
CIE-LABlab(93.38, -22.29, 75.72)
CIE-LCHlch(93.38, 78.93, 106.40°)
OKLaboklab(93.53% -0.0686 0.1687)
OKLCHoklch(93.53% 0.182 112.1)
XYZxyz(68.9191, 83.8468, 19.5733)
Luminance0.8385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF54D #554DF5
analogous
#F5A94D #EDF54D #99F54D
triadic
#EDF54D #4DEDF5 #F54DED
tetradic
#EDF54D #4DF5A9 #554DF5 #F54D99
square
#EDF54D #4DF5A9 #554DF5 #F54D99
split-complementary
#EDF54D #4D99F5 #A94DF5
monochromatic
#B4BD0B #E7F213 #EDF54D #F3F887 #F9FCC1

Accessibility & contrast

On white

1.18
#EDF54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#EDF54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF54D
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF54D#FFFFFF#000000##000000
##EDF54D1.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA31
Deuteranopia (green-blind)
#FFEE5A
Tritanopia (blue-blind)
#FDE6D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #edf54d;
/* rgb */ color: rgb(237, 245, 77);
/* oklch */ color: oklch(93.5% 0.182 112.1);
Tailwind
colors: {
  custom: {
    50: '#f7f889',
    500: '#edf54d',
    950: '#000000',
  },
}
SCSS
$custom: #edf54d;
$custom-light: #f7f889;
$custom-dark: #000000;
JSON
{
  "hex": "#edf54d",
  "rgb": {
    "r": 237,
    "g": 245,
    "b": 77
  },
  "hsl": {
    "h": 62.857,
    "s": 89.362,
    "l": 63.137
  },
  "oklch": {
    "l": 0.93531,
    "c": 0.18215,
    "h": 112.1
  },
  "luminance": 0.83845
}

Semantic roles & 50–950 ramp

primary
#EDF54D
secondary
#322BBB
accent
#00E60B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #EDF54D

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

Preview Lab → · Contrast checker → · Palette generator →

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