#EDF371#EDF371

#EDF371 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.4% C 0.153 H 111.4°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#EDF371
RGBrgb(237, 243, 113)
HSLhsl(63, 84%, 70%)
HSVhsv(63, 53%, 95%)
CMYKcmyk(2.5%, 0%, 53.5%, 4.7%)
CIE-LABlab(93.15, -19.01, 60.98)
CIE-LCHlch(93.15, 63.87, 107.32°)
OKLaboklab(93.43% -0.0558 0.1423)
OKLCHoklch(93.43% 0.153 111.4)
XYZxyz(69.9579, 83.2994, 28.0127)
Luminance0.8330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF371 #7771F3
analogous
#F3B871 #EDF371 #ACF371
triadic
#EDF371 #71EDF3 #F371ED
tetradic
#EDF371 #71F3B8 #7771F3 #F371AC
square
#EDF371 #71F3B8 #7771F3 #F371AC
split-complementary
#EDF371 #71ACF3 #B871F3
monochromatic
#CED712 #E6EE39 #EDF371 #F4F8A9 #FBFDE2

Accessibility & contrast

On white

1.19
#EDF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#EDF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF371
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF371#FFFFFF#000000##000000
##EDF3711.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFED78
Tritanopia (blue-blind)
#FBE6D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #edf371;
/* rgb */ color: rgb(237, 243, 113);
/* oklch */ color: oklch(93.4% 0.153 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f69d',
    500: '#edf371',
    950: '#000000',
  },
}
SCSS
$custom: #edf371;
$custom-light: #f5f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#edf371",
  "rgb": {
    "r": 237,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 62.769,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93432,
    "c": 0.15285,
    "h": 111.4
  },
  "luminance": 0.83298
}

Semantic roles & 50–950 ramp

primary
#EDF371
secondary
#423BCD
accent
#05E10F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF371

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

Preview Lab → · Contrast checker → · Palette generator →

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