#EAF457#EAF457

#EAF457 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.2% C 0.175 H 112.8°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#EAF457
RGBrgb(234, 244, 87)
HSLhsl(64, 88%, 65%)
HSVhsv(64, 64%, 96%)
CMYKcmyk(4.1%, 0%, 64.3%, 4.3%)
CIE-LABlab(92.96, -22.47, 71.53)
CIE-LCHlch(92.96, 74.98, 107.44°)
OKLaboklab(93.16% -0.068 0.1615)
OKLCHoklch(93.16% 0.175 112.8)
XYZxyz(68.0046, 82.8833, 21.4307)
Luminance0.8288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF457 #6157F4
analogous
#F4B057 #EAF457 #9BF457
triadic
#EAF457 #57EAF4 #F457EA
tetradic
#EAF457 #57F4B0 #6157F4 #F4579B
square
#EAF457 #57F4B0 #6157F4 #F4579B
split-complementary
#EAF457 #579BF4 #B057F4
monochromatic
#B8C40D #E3F01E #EAF457 #F1F890 #F8FCCA

Accessibility & contrast

On white

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

On black

17.58
#EAF457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF457
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF457#FFFFFF#000000##000000
##EAF4571.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE941
Deuteranopia (green-blind)
#FFED62
Tritanopia (blue-blind)
#F9E6D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eaf457;
/* rgb */ color: rgb(234, 244, 87);
/* oklch */ color: oklch(93.2% 0.175 112.8);
Tailwind
colors: {
  custom: {
    50: '#f4f78e',
    500: '#eaf457',
    950: '#000000',
  },
}
SCSS
$custom: #eaf457;
$custom-light: #f4f78e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf457",
  "rgb": {
    "r": 234,
    "g": 244,
    "b": 87
  },
  "hsl": {
    "h": 63.822,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.9316,
    "c": 0.17525,
    "h": 112.8
  },
  "luminance": 0.82882
}

Semantic roles & 50–950 ramp

primary
#EAF457
secondary
#382EC1
accent
#01E410
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAF457

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

Preview Lab → · Contrast checker → · Palette generator →

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