#EAF57D#EAF57D

#EAF57D is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.8% C 0.145 H 113.5°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#EAF57D
RGBrgb(234, 245, 125)
HSLhsl(66, 86%, 73%)
HSVhsv(66, 49%, 96%)
CMYKcmyk(4.5%, 0%, 49%, 3.9%)
CIE-LABlab(93.57, -20.14, 56.00)
CIE-LCHlch(93.57, 59.51, 109.78°)
OKLaboklab(93.76% -0.0577 0.1326)
OKLCHoklch(93.76% 0.145 113.5)
XYZxyz(70.2869, 84.2790, 31.9629)
Luminance0.8428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF57D #887DF5
analogous
#F5C47D #EAF57D #AEF57D
triadic
#EAF57D #7DEAF5 #F57DEA
tetradic
#EAF57D #7DF5C4 #887DF5 #F57DAE
square
#EAF57D #7DF5C4 #887DF5 #F57DAE
split-complementary
#EAF57D #7DAEF5 #C47DF5
monochromatic
#D2E612 #E1F144 #EAF57D #F3F9B6 #FAFDE3

Accessibility & contrast

On white

1.18
#EAF57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#EAF57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF57D
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF57D#FFFFFF#000000##000000
##EAF57D1.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB72
Deuteranopia (green-blind)
#FFEE83
Tritanopia (blue-blind)
#F7E9DA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #eaf57d;
/* rgb */ color: rgb(234, 245, 125);
/* oklch */ color: oklch(93.8% 0.145 113.5);
Tailwind
colors: {
  custom: {
    50: '#f3f8a5',
    500: '#eaf57d',
    950: '#000000',
  },
}
SCSS
$custom: #eaf57d;
$custom-light: #f3f8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf57d",
  "rgb": {
    "r": 234,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 65.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93758,
    "c": 0.14465,
    "h": 113.5
  },
  "luminance": 0.84278
}

Semantic roles & 50–950 ramp

primary
#EAF57D
secondary
#5246D1
accent
#03E218
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF57D

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

Preview Lab → · Contrast checker → · Palette generator →

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