#EDF762#EDF762

#EDF762 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.1% C 0.170 H 112.8°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#EDF762
RGBrgb(237, 247, 98)
HSLhsl(64, 90%, 68%)
HSVhsv(64, 60%, 97%)
CMYKcmyk(4%, 0%, 60.3%, 3.1%)
CIE-LABlab(94.06, -22.02, 68.39)
CIE-LCHlch(94.06, 71.85, 107.85°)
OKLaboklab(94.12% -0.0658 0.1564)
OKLCHoklch(94.12% 0.17 112.8)
XYZxyz(70.3922, 85.4093, 24.3304)
Luminance0.8541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF762 #6C62F7
analogous
#F7B762 #EDF762 #A2F762
triadic
#EDF762 #62EDF7 #F762ED
tetradic
#EDF762 #62F7B7 #6C62F7 #F762A2
square
#EDF762 #62F7B7 #6C62F7 #F762A2
split-complementary
#EDF762 #62A2F7 #B762F7
monochromatic
#C6D40B #E6F428 #EDF762 #F4FA9C #FAFDD6

Accessibility & contrast

On white

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

On black

18.08
#EDF762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF762
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF762#FFFFFF#000000##000000
##EDF7621.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC50
Deuteranopia (green-blind)
#FFF06B
Tritanopia (blue-blind)
#FCE9D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #edf762;
/* rgb */ color: rgb(237, 247, 98);
/* oklch */ color: oklch(94.1% 0.170 112.8);
Tailwind
colors: {
  custom: {
    50: '#f6f995',
    500: '#edf762',
    950: '#000000',
  },
}
SCSS
$custom: #edf762;
$custom-light: #f6f995;
$custom-dark: #000000;
JSON
{
  "hex": "#edf762",
  "rgb": {
    "r": 237,
    "g": 247,
    "b": 98
  },
  "hsl": {
    "h": 64.027,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94119,
    "c": 0.16964,
    "h": 112.8
  },
  "luminance": 0.85408
}

Semantic roles & 50–950 ramp

primary
#EDF762
secondary
#392FCF
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EDF762

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

Preview Lab → · Contrast checker → · Palette generator →

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