#EAF478#EAF478

#EAF478 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.5% C 0.148 H 113.1°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#EAF478
RGBrgb(234, 244, 120)
HSLhsl(65, 85%, 71%)
HSVhsv(65, 51%, 96%)
CMYKcmyk(4.1%, 0%, 50.8%, 4.3%)
CIE-LABlab(93.26, -20.10, 57.91)
CIE-LCHlch(93.26, 61.30, 109.14°)
OKLaboklab(93.49% -0.058 0.1364)
OKLCHoklch(93.49% 0.148 113.1)
XYZxyz(69.6738, 83.5511, 30.2223)
Luminance0.8355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF478 #8278F4
analogous
#F4C078 #EAF478 #ACF478
triadic
#EAF478 #78EAF4 #F478EA
tetradic
#EAF478 #78F4C0 #8278F4 #F478AC
square
#EAF478 #78F4C0 #8278F4 #F478AC
split-complementary
#EAF478 #78ACF4 #C078F4
monochromatic
#CFDF12 #E1EF3F #EAF478 #F3F9B1 #FBFDE3

Accessibility & contrast

On white

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

On black

17.71
#EAF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF478
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF478#FFFFFF#000000##000000
##EAF4781.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FFED7F
Tritanopia (blue-blind)
#F7E8D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #eaf478;
/* rgb */ color: rgb(234, 244, 120);
/* oklch */ color: oklch(93.5% 0.148 113.1);
Tailwind
colors: {
  custom: {
    50: '#f3f7a2',
    500: '#eaf478',
    950: '#000000',
  },
}
SCSS
$custom: #eaf478;
$custom-light: #f3f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf478",
  "rgb": {
    "r": 234,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 64.839,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93487,
    "c": 0.14822,
    "h": 113.1
  },
  "luminance": 0.8355
}

Semantic roles & 50–950 ramp

primary
#EAF478
secondary
#4D41CF
accent
#04E116
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF478

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

Preview Lab → · Contrast checker → · Palette generator →

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