#EAF257#EAF257

#EAF257 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.7% C 0.173 H 112.2°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#EAF257
RGBrgb(234, 242, 87)
HSLhsl(63, 86%, 65%)
HSVhsv(63, 64%, 95%)
CMYKcmyk(3.3%, 0%, 64%, 5.1%)
CIE-LABlab(92.44, -21.51, 70.98)
CIE-LCHlch(92.44, 74.17, 106.86°)
OKLaboklab(92.74% -0.0653 0.1604)
OKLCHoklch(92.74% 0.173 112.2)
XYZxyz(67.4060, 81.6863, 21.2312)
Luminance0.8168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF257 #5F57F2
analogous
#F2AD57 #EAF257 #9CF257
triadic
#EAF257 #57EAF2 #F257EA
tetradic
#EAF257 #57F2AD #5F57F2 #F2579C
square
#EAF257 #57F2AD #5F57F2 #F2579C
split-complementary
#EAF257 #579CF2 #AD57F2
monochromatic
#B7C00F #E3EE1E #EAF257 #F1F690 #F8FBC9

Accessibility & contrast

On white

1.21
#EAF257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#EAF257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF257
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF257#FFFFFF#000000##000000
##EAF2571.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eaf257;
/* rgb */ color: rgb(234, 242, 87);
/* oklch */ color: oklch(92.7% 0.173 112.2);
Tailwind
colors: {
  custom: {
    50: '#f4f68e',
    500: '#eaf257',
    950: '#000000',
  },
}
SCSS
$custom: #eaf257;
$custom-light: #f4f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf257",
  "rgb": {
    "r": 234,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 63.097,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92739,
    "c": 0.17317,
    "h": 112.2
  },
  "luminance": 0.81685
}

Semantic roles & 50–950 ramp

primary
#EAF257
secondary
#3730BE
accent
#03E20F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAF257

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

Preview Lab → · Contrast checker → · Palette generator →

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