#EDF877#EDF877

#EDF877 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.5% C 0.153 H 113.4°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#EDF877
RGBrgb(237, 248, 119)
HSLhsl(65, 90%, 72%)
HSVhsv(65, 52%, 97%)
CMYKcmyk(4.4%, 0%, 52%, 2.7%)
CIE-LABlab(94.51, -20.93, 59.89)
CIE-LCHlch(94.51, 63.44, 109.27°)
OKLaboklab(94.54% -0.0607 0.1405)
OKLCHoklch(94.54% 0.153 113.4)
XYZxyz(71.8236, 86.4725, 30.3565)
Luminance0.8647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF877 #8277F8
analogous
#F8C277 #EDF877 #ADF877
triadic
#EDF877 #77EDF8 #F877ED
tetradic
#EDF877 #77F8C2 #8277F8 #F877AD
square
#EDF877 #77F8C2 #8277F8 #F877AD
split-complementary
#EDF877 #77ADF8 #C277F8
monochromatic
#D6E90C #E5F53D #EDF877 #F5FBB1 #FBFEE2

Accessibility & contrast

On white

1.15
#EDF877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#EDF877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF877
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF877#FFFFFF#000000##000000
##EDF8771.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6B
Deuteranopia (green-blind)
#FFF17E
Tritanopia (blue-blind)
#FAEBDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #edf877;
/* rgb */ color: rgb(237, 248, 119);
/* oklch */ color: oklch(94.5% 0.153 113.4);
Tailwind
colors: {
  custom: {
    50: '#f5faa2',
    500: '#edf877',
    950: '#000000',
  },
}
SCSS
$custom: #edf877;
$custom-light: #f5faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#edf877",
  "rgb": {
    "r": 237,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 65.116,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94544,
    "c": 0.15307,
    "h": 113.4
  },
  "luminance": 0.86471
}

Semantic roles & 50–950 ramp

primary
#EDF877
secondary
#4C3FD4
accent
#00E614
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF877

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

Preview Lab → · Contrast checker → · Palette generator →

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