#EAF28E#EAF28E

#EAF28E is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.4% C 0.124 H 112.5°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#EAF28E
RGBrgb(234, 242, 142)
HSLhsl(65, 79%, 75%)
HSVhsv(65, 41%, 95%)
CMYKcmyk(3.3%, 0%, 41.3%, 5.1%)
CIE-LABlab(92.99, -17.05, 47.26)
CIE-LCHlch(92.99, 50.24, 109.84°)
OKLaboklab(93.36% -0.0474 0.1144)
OKLCHoklch(93.36% 0.124 112.5)
XYZxyz(70.5671, 82.9508, 37.8796)
Luminance0.8295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF28E #968EF2
analogous
#F2C88E #EAF28E #B8F28E
triadic
#EAF28E #8EEAF2 #F28EEA
tetradic
#EAF28E #8EF2C8 #968EF2 #F28EB8
square
#EAF28E #8EF2C8 #968EF2 #F28EB8
split-complementary
#EAF28E #8EB8F2 #C88EF2
monochromatic
#D6E520 #E0EC57 #EAF28E #F4F8C5 #FAFCE4

Accessibility & contrast

On white

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

On black

17.59
#EAF28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF28E
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF28E#FFFFFF#000000##000000
##EAF28E1.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA86
Deuteranopia (green-blind)
#FFEC93
Tritanopia (blue-blind)
#F5E7DA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eaf28e;
/* rgb */ color: rgb(234, 242, 142);
/* oklch */ color: oklch(93.4% 0.124 112.5);
Tailwind
colors: {
  custom: {
    50: '#f2f6b0',
    500: '#eaf28e',
    950: '#000000',
  },
}
SCSS
$custom: #eaf28e;
$custom-light: #f2f6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf28e",
  "rgb": {
    "r": 234,
    "g": 242,
    "b": 142
  },
  "hsl": {
    "h": 64.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93363,
    "c": 0.12387,
    "h": 112.5
  },
  "luminance": 0.8295
}

Semantic roles & 50–950 ramp

primary
#EAF28E
secondary
#5F56CF
accent
#0ADC1B
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171711
muted
#858581

Preview Lab

Preview with #EAF28E

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

Preview Lab → · Contrast checker → · Palette generator →

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