#EAF078#EAF078

#EAF078 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.7% C 0.144 H 111.5°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#EAF078
RGBrgb(234, 240, 120)
HSLhsl(63, 80%, 71%)
HSVhsv(63, 50%, 94%)
CMYKcmyk(2.5%, 0%, 50%, 5.9%)
CIE-LABlab(92.21, -18.16, 56.68)
CIE-LCHlch(92.21, 59.51, 107.77°)
OKLaboklab(92.65% -0.0526 0.1337)
OKLCHoklch(92.65% 0.144 111.5)
XYZxyz(68.4833, 81.1700, 29.8254)
Luminance0.8117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF078 #7E78F0
analogous
#F0BA78 #EAF078 #AEF078
triadic
#EAF078 #78EAF0 #F078EA
tetradic
#EAF078 #78F0BA #7E78F0 #F078AE
square
#EAF078 #78F0BA #7E78F0 #F078AE
split-complementary
#EAF078 #78AEF0 #BA78F0
monochromatic
#CCD618 #E1EA41 #EAF078 #F3F6AF #FBFCE3

Accessibility & contrast

On white

1.22
#EAF078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#EAF078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF078
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF078#FFFFFF#000000##000000
##EAF0781.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FFEA7E
Tritanopia (blue-blind)
#F7E4D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaf078;
/* rgb */ color: rgb(234, 240, 120);
/* oklch */ color: oklch(92.7% 0.144 111.5);
Tailwind
colors: {
  custom: {
    50: '#f3f4a2',
    500: '#eaf078',
    950: '#000000',
  },
}
SCSS
$custom: #eaf078;
$custom-light: #f3f4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf078",
  "rgb": {
    "r": 234,
    "g": 240,
    "b": 120
  },
  "hsl": {
    "h": 63,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92651,
    "c": 0.14366,
    "h": 111.5
  },
  "luminance": 0.81169
}

Semantic roles & 50–950 ramp

primary
#EAF078
secondary
#4942CA
accent
#09DC14
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF078

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

Preview Lab → · Contrast checker → · Palette generator →

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