#EDF970#EDF970

#EDF970 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.7% C 0.160 H 113.6°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#EDF970
RGBrgb(237, 249, 112)
HSLhsl(65, 92%, 71%)
HSVhsv(65, 55%, 98%)
CMYKcmyk(4.8%, 0%, 55%, 2.4%)
CIE-LABlab(94.71, -21.97, 63.20)
CIE-LCHlch(94.71, 66.91, 109.17°)
OKLaboklab(94.68% -0.0643 0.147)
OKLCHoklch(94.68% 0.16 113.6)
XYZxyz(71.7269, 86.9270, 28.3262)
Luminance0.8693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF970 #7C70F9
analogous
#F9C070 #EDF970 #A9F970
triadic
#EDF970 #70EDF9 #F970ED
tetradic
#EDF970 #70F9C0 #7C70F9 #F970A9
square
#EDF970 #70F9C0 #7C70F9 #F970A9
split-complementary
#EDF970 #70A9F9 #C070F9
monochromatic
#D2E50A #E6F735 #EDF970 #F4FBAB #FBFEE2

Accessibility & contrast

On white

1.14
#EDF970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.39
#EDF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF970
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF970#FFFFFF#000000##000000
##EDF9701.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFF178
Tritanopia (blue-blind)
#FBECDB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #edf970;
/* rgb */ color: rgb(237, 249, 112);
/* oklch */ color: oklch(94.7% 0.160 113.6);
Tailwind
colors: {
  custom: {
    50: '#f5fb9d',
    500: '#edf970',
    950: '#000000',
  },
}
SCSS
$custom: #edf970;
$custom-light: #f5fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#edf970",
  "rgb": {
    "r": 237,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 65.255,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94677,
    "c": 0.1604,
    "h": 113.6
  },
  "luminance": 0.86926
}

Semantic roles & 50–950 ramp

primary
#EDF970
secondary
#4739D4
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF970

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

Preview Lab → · Contrast checker → · Palette generator →

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