#EDF398#EDF398

#EDF398 is a very light, moderate yellow. Relative luminance 0.844; OKLCH L 94.0% C 0.114 H 111.6°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#EDF398
RGBrgb(237, 243, 152)
HSLhsl(64, 79%, 77%)
HSVhsv(64, 37%, 95%)
CMYKcmyk(2.5%, 0%, 37.4%, 4.7%)
CIE-LABlab(93.61, -15.32, 43.22)
CIE-LCHlch(93.61, 45.85, 109.52°)
OKLaboklab(93.96% -0.0419 0.1057)
OKLCHoklch(93.96% 0.114 111.6)
XYZxyz(72.6438, 84.3738, 42.1586)
Luminance0.8437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF398 #9E98F3
analogous
#F3CB98 #EDF398 #C0F398
triadic
#EDF398 #98EDF3 #F398ED
tetradic
#EDF398 #98F3CB #9E98F3 #F398C0
square
#EDF398 #98F3CB #9E98F3 #F398C0
split-complementary
#EDF398 #98C0F3 #CB98F3
monochromatic
#DAE62A #E3ED61 #EDF398 #F7F9CF #FAFCE4

Accessibility & contrast

On white

1.17
#EDF398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#EDF398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF398
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF398#FFFFFF#000000##000000
##EDF3981.001.1717.8717.87
#FFFFFF1.171.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB91
Deuteranopia (green-blind)
#FFEE9C
Tritanopia (blue-blind)
#F8E9DC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #edf398;
/* rgb */ color: rgb(237, 243, 152);
/* oklch */ color: oklch(94.0% 0.114 111.6);
Tailwind
colors: {
  custom: {
    50: '#f4f7b7',
    500: '#edf398',
    950: '#000000',
  },
}
SCSS
$custom: #edf398;
$custom-light: #f4f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#edf398",
  "rgb": {
    "r": 237,
    "g": 243,
    "b": 152
  },
  "hsl": {
    "h": 63.956,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93956,
    "c": 0.11374,
    "h": 111.6
  },
  "luminance": 0.84373
}

Semantic roles & 50–950 ramp

primary
#EDF398
secondary
#665ED1
accent
#0ADB18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EDF398

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

Preview Lab → · Contrast checker → · Palette generator →

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