#EAF157#EAF157

#EAF157 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.5% C 0.172 H 111.8°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#EAF157
RGBrgb(234, 241, 87)
HSLhsl(63, 85%, 64%)
HSVhsv(63, 64%, 95%)
CMYKcmyk(2.9%, 0%, 63.9%, 5.5%)
CIE-LABlab(92.17, -21.03, 70.71)
CIE-LCHlch(92.17, 73.77, 106.57°)
OKLaboklab(92.53% -0.064 0.1598)
OKLCHoklch(92.53% 0.172 111.8)
XYZxyz(67.1092, 81.0927, 21.1323)
Luminance0.8109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF157 #5E57F1
analogous
#F1AB57 #EAF157 #9DF157
triadic
#EAF157 #57EAF1 #F157EA
tetradic
#EAF157 #57F1AB #5E57F1 #F1579D
square
#EAF157 #57F1AB #5E57F1 #F1579D
split-complementary
#EAF157 #579DF1 #AB57F1
monochromatic
#B6BE10 #E3EC1F #EAF157 #F1F68F #F8FAC8

Accessibility & contrast

On white

1.22
#EAF157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#EAF157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF157
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF157#FFFFFF#000000##000000
##EAF1571.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE742
Deuteranopia (green-blind)
#FFEA61
Tritanopia (blue-blind)
#F9E3D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaf157;
/* rgb */ color: rgb(234, 241, 87);
/* oklch */ color: oklch(92.5% 0.172 111.8);
Tailwind
colors: {
  custom: {
    50: '#f4f58e',
    500: '#eaf157',
    950: '#000000',
  },
}
SCSS
$custom: #eaf157;
$custom-light: #f4f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf157",
  "rgb": {
    "r": 234,
    "g": 241,
    "b": 87
  },
  "hsl": {
    "h": 62.727,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.92528,
    "c": 0.17212,
    "h": 111.8
  },
  "luminance": 0.81091
}

Semantic roles & 50–950 ramp

primary
#EAF157
secondary
#3730BC
accent
#04E10E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAF157

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

Preview Lab → · Contrast checker → · Palette generator →

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