#EDF974#EDF974

#EDF974 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.7% C 0.157 H 113.7°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#EDF974
RGBrgb(237, 249, 116)
HSLhsl(65, 92%, 72%)
HSVhsv(65, 53%, 98%)
CMYKcmyk(4.8%, 0%, 53.4%, 2.4%)
CIE-LABlab(94.75, -21.66, 61.49)
CIE-LCHlch(94.75, 65.19, 109.40°)
OKLaboklab(94.72% -0.063 0.1437)
OKLCHoklch(94.72% 0.157 113.7)
XYZxyz(71.9545, 87.0181, 29.5253)
Luminance0.8702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF974 #8074F9
analogous
#F9C374 #EDF974 #ABF974
triadic
#EDF974 #74EDF9 #F974ED
tetradic
#EDF974 #74F9C3 #8074F9 #F974AB
square
#EDF974 #74F9C3 #8074F9 #F974AB
split-complementary
#EDF974 #74ABF9 #C374F9
monochromatic
#D4E90A #E5F639 #EDF974 #F5FCAF #FBFEE2

Accessibility & contrast

On white

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

On black

18.40
#EDF974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF974
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF974#FFFFFF#000000##000000
##EDF9741.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF67
Deuteranopia (green-blind)
#FFF17C
Tritanopia (blue-blind)
#FAECDB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #edf974;
/* rgb */ color: rgb(237, 249, 116);
/* oklch */ color: oklch(94.7% 0.157 113.7);
Tailwind
colors: {
  custom: {
    50: '#f5fba0',
    500: '#edf974',
    950: '#000000',
  },
}
SCSS
$custom: #edf974;
$custom-light: #f5fba0;
$custom-dark: #000000;
JSON
{
  "hex": "#edf974",
  "rgb": {
    "r": 237,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 65.414,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9472,
    "c": 0.1569,
    "h": 113.7
  },
  "luminance": 0.87017
}

Semantic roles & 50–950 ramp

primary
#EDF974
secondary
#4A3DD5
accent
#00E615
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF974

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

Preview Lab → · Contrast checker → · Palette generator →

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