#EAF54F#EAF54F

#EAF54F is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.3% C 0.182 H 113.1°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#EAF54F
RGBrgb(234, 245, 79)
HSLhsl(64, 89%, 64%)
HSVhsv(64, 68%, 96%)
CMYKcmyk(4.5%, 0%, 67.8%, 3.9%)
CIE-LABlab(93.17, -23.39, 74.72)
CIE-LCHlch(93.17, 78.30, 107.38°)
OKLaboklab(93.31% -0.0713 0.167)
OKLCHoklch(93.31% 0.182 113.1)
XYZxyz(67.9973, 83.3632, 19.9044)
Luminance0.8336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF54F #5A4FF5
analogous
#F5AD4F #EAF54F #97F54F
triadic
#EAF54F #4FEAF5 #F54FEA
tetradic
#EAF54F #4FF5AD #5A4FF5 #F54F97
square
#EAF54F #4FF5AD #5A4FF5 #F54F97
split-complementary
#EAF54F #4F97F5 #AD4FF5
monochromatic
#B3BF0B #E3F215 #EAF54F #F1F889 #F8FCC3

Accessibility & contrast

On white

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

On black

17.67
#EAF54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF54F
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF54F#FFFFFF#000000##000000
##EAF54F1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA35
Deuteranopia (green-blind)
#FFED5B
Tritanopia (blue-blind)
#F9E7D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eaf54f;
/* rgb */ color: rgb(234, 245, 79);
/* oklch */ color: oklch(93.3% 0.182 113.1);
Tailwind
colors: {
  custom: {
    50: '#f4f88a',
    500: '#eaf54f',
    950: '#000000',
  },
}
SCSS
$custom: #eaf54f;
$custom-light: #f4f88a;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf54f",
  "rgb": {
    "r": 234,
    "g": 245,
    "b": 79
  },
  "hsl": {
    "h": 63.976,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.93311,
    "c": 0.18163,
    "h": 113.1
  },
  "luminance": 0.83362
}

Semantic roles & 50–950 ramp

primary
#EAF54F
secondary
#352CBD
accent
#00E60F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #EAF54F

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

Preview Lab → · Contrast checker → · Palette generator →

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