#EAF057#EAF057

#EAF057 is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.3% C 0.171 H 111.5°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#EAF057
RGBrgb(234, 240, 87)
HSLhsl(62, 84%, 64%)
HSVhsv(62, 64%, 94%)
CMYKcmyk(2.5%, 0%, 63.7%, 5.9%)
CIE-LABlab(91.91, -20.55, 70.44)
CIE-LCHlch(91.91, 73.37, 106.27°)
OKLaboklab(92.32% -0.0626 0.1592)
OKLCHoklch(92.32% 0.171 111.5)
XYZxyz(66.8140, 80.5023, 21.0339)
Luminance0.8050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF057 #5D57F0
analogous
#F0AA57 #EAF057 #9EF057
triadic
#EAF057 #57EAF0 #F057EA
tetradic
#EAF057 #57F0AA #5D57F0 #F0579E
square
#EAF057 #57F0AA #5D57F0 #F0579E
split-complementary
#EAF057 #579EF0 #AA57F0
monochromatic
#B5BC11 #E3EB1F #EAF057 #F1F58F #F8FAC7

Accessibility & contrast

On white

1.23
#EAF057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.10
#EAF057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF057
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF057#FFFFFF#000000##000000
##EAF0571.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE642
Deuteranopia (green-blind)
#FFEA61
Tritanopia (blue-blind)
#F9E2D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #eaf057;
/* rgb */ color: rgb(234, 240, 87);
/* oklch */ color: oklch(92.3% 0.171 111.5);
Tailwind
colors: {
  custom: {
    50: '#f4f48e',
    500: '#eaf057',
    950: '#000000',
  },
}
SCSS
$custom: #eaf057;
$custom-light: #f4f48e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf057",
  "rgb": {
    "r": 234,
    "g": 240,
    "b": 87
  },
  "hsl": {
    "h": 62.353,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.92318,
    "c": 0.1711,
    "h": 111.5
  },
  "luminance": 0.80501
}

Semantic roles & 50–950 ramp

primary
#EAF057
secondary
#3631BA
accent
#05E00E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAF057

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

Preview Lab → · Contrast checker → · Palette generator →

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