#EAF978#EAF978

#EAF978 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.5% C 0.154 H 114.9°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#EAF978
RGBrgb(234, 249, 120)
HSLhsl(67, 91%, 72%)
HSVhsv(67, 52%, 98%)
CMYKcmyk(6%, 0%, 51.8%, 2.4%)
CIE-LABlab(94.57, -22.49, 59.45)
CIE-LCHlch(94.57, 63.56, 110.73°)
OKLaboklab(94.54% -0.0648 0.1397)
OKLCHoklch(94.54% 0.154 114.9)
XYZxyz(71.1987, 86.6009, 30.7306)
Luminance0.8660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF978 #8778F9
analogous
#F9C878 #EAF978 #A9F978
triadic
#EAF978 #78EAF9 #F978EA
tetradic
#EAF978 #78F9C8 #8778F9 #F978A9
square
#EAF978 #78F9C8 #8778F9 #F978A9
split-complementary
#EAF978 #78A9F9 #C878F9
monochromatic
#D2EC0A #E1F63D #EAF978 #F3FCB3 #FAFEE2

Accessibility & contrast

On white

1.15
#EAF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#EAF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF978
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF978#FFFFFF#000000##000000
##EAF9781.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#F7EDDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf978;
/* rgb */ color: rgb(234, 249, 120);
/* oklch */ color: oklch(94.5% 0.154 114.9);
Tailwind
colors: {
  custom: {
    50: '#f3fba2',
    500: '#eaf978',
    950: '#000000',
  },
}
SCSS
$custom: #eaf978;
$custom-light: #f3fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf978",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 66.977,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94537,
    "c": 0.15402,
    "h": 114.9
  },
  "luminance": 0.866
}

Semantic roles & 50–950 ramp

primary
#EAF978
secondary
#5140D5
accent
#00E61B
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF978

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

Preview Lab → · Contrast checker → · Palette generator →

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