#EAF77C#EAF77C

#EAF77C is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.2% C 0.148 H 114.3°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#EAF77C
RGBrgb(234, 247, 124)
HSLhsl(66, 88%, 73%)
HSVhsv(66, 50%, 97%)
CMYKcmyk(5.3%, 0%, 49.8%, 3.1%)
CIE-LABlab(94.09, -21.19, 57.07)
CIE-LCHlch(94.09, 60.87, 110.37°)
OKLaboklab(94.17% -0.0608 0.1349)
OKLCHoklch(94.17% 0.148 114.3)
XYZxyz(70.8317, 85.4702, 31.8309)
Luminance0.8547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF77C #897CF7
analogous
#F7C67C #EAF77C #ADF77C
triadic
#EAF77C #7CEAF7 #F77CEA
tetradic
#EAF77C #7CF7C6 #897CF7 #F77CAD
square
#EAF77C #7CF7C6 #897CF7 #F77CAD
split-complementary
#EAF77C #7CADF7 #C67CF7
monochromatic
#D3EA0E #E1F342 #EAF77C #F3FBB6 #FAFDE2

Accessibility & contrast

On white

1.16
#EAF77C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#EAF77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF77C
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF77C#FFFFFF#000000##000000
##EAF77C1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED71
Deuteranopia (green-blind)
#FFEF83
Tritanopia (blue-blind)
#F6EBDB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf77c;
/* rgb */ color: rgb(234, 247, 124);
/* oklch */ color: oklch(94.2% 0.148 114.3);
Tailwind
colors: {
  custom: {
    50: '#f3f9a5',
    500: '#eaf77c',
    950: '#000000',
  },
}
SCSS
$custom: #eaf77c;
$custom-light: #f3f9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf77c",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 124
  },
  "hsl": {
    "h": 66.341,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94165,
    "c": 0.14795,
    "h": 114.3
  },
  "luminance": 0.85469
}

Semantic roles & 50–950 ramp

primary
#EAF77C
secondary
#5344D3
accent
#00E519
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF77C

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

Preview Lab → · Contrast checker → · Palette generator →

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