#EFF798#EFF798

#EFF798 is a very light, moderate yellow. Relative luminance 0.871; OKLCH L 94.9% C 0.118 H 112.6°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#EFF798
RGBrgb(239, 247, 152)
HSLhsl(65, 86%, 78%)
HSVhsv(65, 38%, 97%)
CMYKcmyk(3.2%, 0%, 38.5%, 3.1%)
CIE-LABlab(94.80, -16.52, 44.76)
CIE-LCHlch(94.80, 47.71, 110.25°)
OKLaboklab(94.94% -0.0454 0.1092)
OKLCHoklch(94.94% 0.118 112.6)
XYZxyz(74.5255, 87.1403, 42.5935)
Luminance0.8714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFF798 #A098F7
analogous
#F7CF98 #EFF798 #BFF798
triadic
#EFF798 #98EFF7 #F798EF
tetradic
#EFF798 #98F7CF #A098F7 #F798BF
square
#EFF798 #98F7CF #A098F7 #F798BF
split-complementary
#EFF798 #98BFF7 #CF98F7
monochromatic
#DDEE26 #E6F35F #EFF798 #F8FBD1 #FBFDE3

Accessibility & contrast

On white

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

On black

18.43
#EFF798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFF798
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFF798#FFFFFF#000000##000000
##EFF7981.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF91
Deuteranopia (green-blind)
#FFF19C
Tritanopia (blue-blind)
#FAEDE0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eff798;
/* rgb */ color: rgb(239, 247, 152);
/* oklch */ color: oklch(94.9% 0.118 112.6);
Tailwind
colors: {
  custom: {
    50: '#f5f9b7',
    500: '#eff798',
    950: '#000000',
  },
}
SCSS
$custom: #eff798;
$custom-light: #f5f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#eff798",
  "rgb": {
    "r": 239,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 65.053,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.94936,
    "c": 0.1183,
    "h": 112.6
  },
  "luminance": 0.87139
}

Semantic roles & 50–950 ramp

primary
#EFF798
secondary
#675DD6
accent
#03E216
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EFF798

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

Preview Lab → · Contrast checker → · Palette generator →

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