#EAF28A#EAF28A

#EAF28A is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.3% C 0.128 H 112.5°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#EAF28A
RGBrgb(234, 242, 138)
HSLhsl(65, 80%, 75%)
HSVhsv(65, 43%, 95%)
CMYKcmyk(3.3%, 0%, 43%, 5.1%)
CIE-LABlab(92.94, -17.46, 49.12)
CIE-LCHlch(92.94, 52.13, 109.57°)
OKLaboklab(93.31% -0.0489 0.1184)
OKLCHoklch(93.31% 0.128 112.5)
XYZxyz(70.2722, 82.8328, 36.3263)
Luminance0.8283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF28A #928AF2
analogous
#F2C68A #EAF28A #B6F28A
triadic
#EAF28A #8AEAF2 #F28AEA
tetradic
#EAF28A #8AF2C6 #928AF2 #F28AB6
square
#EAF28A #8AF2C6 #928AF2 #F28AB6
split-complementary
#EAF28A #8AB6F2 #C68AF2
monochromatic
#D6E61C #E0EC53 #EAF28A #F4F8C1 #FAFCE3

Accessibility & contrast

On white

1.20
#EAF28A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#EAF28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF28A
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF28A#FFFFFF#000000##000000
##EAF28A1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE982
Deuteranopia (green-blind)
#FFEC8F
Tritanopia (blue-blind)
#F6E7D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eaf28a;
/* rgb */ color: rgb(234, 242, 138);
/* oklch */ color: oklch(93.3% 0.128 112.5);
Tailwind
colors: {
  custom: {
    50: '#f2f6ae',
    500: '#eaf28a',
    950: '#000000',
  },
}
SCSS
$custom: #eaf28a;
$custom-light: #f2f6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf28a",
  "rgb": {
    "r": 234,
    "g": 242,
    "b": 138
  },
  "hsl": {
    "h": 64.615,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.93305,
    "c": 0.12808,
    "h": 112.5
  },
  "luminance": 0.82832
}

Semantic roles & 50–950 ramp

primary
#EAF28A
secondary
#5C52CE
accent
#09DC19
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAF28A

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

Preview Lab → · Contrast checker → · Palette generator →

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