#EAF28F#EAF28F

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

Color values

HEX#EAF28F
RGBrgb(234, 242, 143)
HSLhsl(65, 79%, 75%)
HSVhsv(65, 41%, 95%)
CMYKcmyk(3.3%, 0%, 40.9%, 5.1%)
CIE-LABlab(93.01, -16.94, 46.79)
CIE-LCHlch(93.01, 49.76, 109.91°)
OKLaboklab(93.38% -0.0471 0.1134)
OKLCHoklch(93.38% 0.123 112.5)
XYZxyz(70.6425, 82.9809, 38.2768)
Luminance0.8298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF28F #978FF2
analogous
#F2C88F #EAF28F #B9F28F
triadic
#EAF28F #8FEAF2 #F28FEA
tetradic
#EAF28F #8FF2C8 #978FF2 #F28FB9
square
#EAF28F #8FF2C8 #978FF2 #F28FB9
split-complementary
#EAF28F #8FB9F2 #C88FF2
monochromatic
#D5E521 #E0EC58 #EAF28F #F4F8C6 #FAFCE4

Accessibility & contrast

On white

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

On black

17.60
#EAF28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF28F
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF28F#FFFFFF#000000##000000
##EAF28F1.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eaf28f;
/* rgb */ color: rgb(234, 242, 143);
/* oklch */ color: oklch(93.4% 0.123 112.5);
Tailwind
colors: {
  custom: {
    50: '#f2f6b1',
    500: '#eaf28f',
    950: '#000000',
  },
}
SCSS
$custom: #eaf28f;
$custom-light: #f2f6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf28f",
  "rgb": {
    "r": 234,
    "g": 242,
    "b": 143
  },
  "hsl": {
    "h": 64.848,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93378,
    "c": 0.12281,
    "h": 112.5
  },
  "luminance": 0.8298
}

Semantic roles & 50–950 ramp

primary
#EAF28F
secondary
#6057CF
accent
#0ADB1B
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAF28F

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

Preview Lab → · Contrast checker → · Palette generator →

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