#EDF179#EDF179

#EDF179 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.1% C 0.143 H 110.6°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#EDF179
RGBrgb(237, 241, 121)
HSLhsl(62, 81%, 71%)
HSVhsv(62, 50%, 95%)
CMYKcmyk(1.7%, 0%, 49.8%, 5.5%)
CIE-LABlab(92.71, -17.39, 56.86)
CIE-LCHlch(92.71, 59.46, 107.00°)
OKLaboklab(93.11% -0.0504 0.1342)
OKLCHoklch(93.11% 0.143 110.6)
XYZxyz(69.8330, 82.2971, 30.2917)
Luminance0.8230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF179 #7D79F1
analogous
#F1B979 #EDF179 #B1F179
triadic
#EDF179 #79EDF1 #F179ED
tetradic
#EDF179 #79F1B9 #7D79F1 #F179B1
square
#EDF179 #79F1B9 #7D79F1 #F179B1
split-complementary
#EDF179 #79B1F1 #B979F1
monochromatic
#D2D917 #E6EB42 #EDF179 #F4F7B0 #FBFCE3

Accessibility & contrast

On white

1.20
#EDF179 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#EDF179 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF179
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF179#FFFFFF#000000##000000
##EDF1791.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86E
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#FBE5D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #edf179;
/* rgb */ color: rgb(237, 241, 121);
/* oklch */ color: oklch(93.1% 0.143 110.6);
Tailwind
colors: {
  custom: {
    50: '#f5f5a3',
    500: '#edf179',
    950: '#000000',
  },
}
SCSS
$custom: #edf179;
$custom-light: #f5f5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#edf179",
  "rgb": {
    "r": 237,
    "g": 241,
    "b": 121
  },
  "hsl": {
    "h": 62,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93108,
    "c": 0.14331,
    "h": 110.6
  },
  "luminance": 0.82296
}

Semantic roles & 50–950 ramp

primary
#EDF179
secondary
#4843CB
accent
#08DD0F
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF179

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

Preview Lab → · Contrast checker → · Palette generator →

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