#EDF962#EDF962

#EDF962 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.5% C 0.172 H 113.5°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#EDF962
RGBrgb(237, 249, 98)
HSLhsl(65, 93%, 68%)
HSVhsv(65, 61%, 98%)
CMYKcmyk(4.8%, 0%, 60.6%, 2.4%)
CIE-LABlab(94.58, -22.97, 68.96)
CIE-LCHlch(94.58, 72.68, 108.42°)
OKLaboklab(94.54% -0.0685 0.1576)
OKLCHoklch(94.54% 0.172 113.5)
XYZxyz(71.0071, 86.6391, 24.5354)
Luminance0.8664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF962 #6E62F9
analogous
#F9B962 #EDF962 #A1F962
triadic
#EDF962 #62EDF9 #F962ED
tetradic
#EDF962 #62F9B9 #6E62F9 #F962A1
square
#EDF962 #62F9B9 #6E62F9 #F962A1
split-complementary
#EDF962 #62A1F9 #B962F9
monochromatic
#C8D808 #E6F727 #EDF962 #F4FB9D #FBFED8

Accessibility & contrast

On white

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

On black

18.33
#EDF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF962
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF962#FFFFFF#000000##000000
##EDF9621.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE50
Deuteranopia (green-blind)
#FFF16C
Tritanopia (blue-blind)
#FBEBD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #edf962;
/* rgb */ color: rgb(237, 249, 98);
/* oklch */ color: oklch(94.5% 0.172 113.5);
Tailwind
colors: {
  custom: {
    50: '#f6fb95',
    500: '#edf962',
    950: '#000000',
  },
}
SCSS
$custom: #edf962;
$custom-light: #f6fb95;
$custom-dark: #000000;
JSON
{
  "hex": "#edf962",
  "rgb": {
    "r": 237,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 64.768,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94539,
    "c": 0.1718,
    "h": 113.5
  },
  "luminance": 0.86638
}

Semantic roles & 50–950 ramp

primary
#EDF962
secondary
#3A2DD2
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EDF962

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

Preview Lab → · Contrast checker → · Palette generator →

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