#EDF772#EDF772

#EDF772 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.3% C 0.156 H 112.9°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#EDF772
RGBrgb(237, 247, 114)
HSLhsl(65, 89%, 71%)
HSVhsv(65, 54%, 97%)
CMYKcmyk(4%, 0%, 53.8%, 3.1%)
CIE-LABlab(94.20, -20.86, 61.75)
CIE-LCHlch(94.20, 65.18, 108.66°)
OKLaboklab(94.28% -0.061 0.1441)
OKLCHoklch(94.28% 0.156 112.9)
XYZxyz(71.2246, 85.7423, 28.7142)
Luminance0.8574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF772 #7C72F7
analogous
#F7BE72 #EDF772 #AAF772
triadic
#EDF772 #72EDF7 #F772ED
tetradic
#EDF772 #72F7BE #7C72F7 #F772AA
square
#EDF772 #72F7BE #7C72F7 #F772AA
split-complementary
#EDF772 #72AAF7 #BE72F7
monochromatic
#D2E20D #E6F438 #EDF772 #F4FAAC #FBFDE2

Accessibility & contrast

On white

1.16
#EDF772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#EDF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF772
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF772#FFFFFF#000000##000000
##EDF7721.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED65
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#FBEADA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #edf772;
/* rgb */ color: rgb(237, 247, 114);
/* oklch */ color: oklch(94.3% 0.156 112.9);
Tailwind
colors: {
  custom: {
    50: '#f5f99e',
    500: '#edf772',
    950: '#000000',
  },
}
SCSS
$custom: #edf772;
$custom-light: #f5f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#edf772",
  "rgb": {
    "r": 237,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 64.511,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94279,
    "c": 0.15642,
    "h": 112.9
  },
  "luminance": 0.85741
}

Semantic roles & 50–950 ramp

primary
#EDF772
secondary
#473BD2
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF772

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

Preview Lab → · Contrast checker → · Palette generator →

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