#EDF178#EDF178

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

Color values

HEX#EDF178
RGBrgb(237, 241, 120)
HSLhsl(62, 81%, 71%)
HSVhsv(62, 50%, 95%)
CMYKcmyk(1.7%, 0%, 50.2%, 5.5%)
CIE-LABlab(92.70, -17.47, 57.31)
CIE-LCHlch(92.70, 59.91, 106.95°)
OKLaboklab(93.1% -0.0508 0.135)
OKLCHoklch(93.1% 0.144 110.6)
XYZxyz(69.7720, 82.2727, 29.9704)
Luminance0.8227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF178 #7C78F1
analogous
#F1B878 #EDF178 #B1F178
triadic
#EDF178 #78EDF1 #F178ED
tetradic
#EDF178 #78F1B8 #7C78F1 #F178B1
square
#EDF178 #78F1B8 #7C78F1 #F178B1
split-complementary
#EDF178 #78B1F1 #B878F1
monochromatic
#D2D816 #E6EB41 #EDF178 #F4F7AF #FBFCE3

Accessibility & contrast

On white

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

On black

17.45
#EDF178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF178
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF178#FFFFFF#000000##000000
##EDF1781.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #edf178;
/* rgb */ color: rgb(237, 241, 120);
/* oklch */ color: oklch(93.1% 0.144 110.6);
Tailwind
colors: {
  custom: {
    50: '#f5f5a2',
    500: '#edf178',
    950: '#000000',
  },
}
SCSS
$custom: #edf178;
$custom-light: #f5f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#edf178",
  "rgb": {
    "r": 237,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 61.983,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93096,
    "c": 0.14425,
    "h": 110.6
  },
  "luminance": 0.82271
}

Semantic roles & 50–950 ramp

primary
#EDF178
secondary
#4742CB
accent
#08DE0F
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF178

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

Preview Lab → · Contrast checker → · Palette generator →

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