#EAF781#EAF781

#EAF781 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.2% C 0.143 H 114.4°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#EAF781
RGBrgb(234, 247, 129)
HSLhsl(67, 88%, 74%)
HSVhsv(67, 48%, 97%)
CMYKcmyk(5.3%, 0%, 47.8%, 3.1%)
CIE-LABlab(94.14, -20.74, 54.83)
CIE-LCHlch(94.14, 58.62, 110.72°)
OKLaboklab(94.23% -0.059 0.1304)
OKLCHoklch(94.23% 0.143 114.4)
XYZxyz(71.1559, 85.5999, 33.5386)
Luminance0.8560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF781 #8E81F7
analogous
#F7C981 #EAF781 #AFF781
triadic
#EAF781 #81EAF7 #F781EA
tetradic
#EAF781 #81F7C9 #8E81F7 #F781AF
square
#EAF781 #81F7C9 #8E81F7 #F781AF
split-complementary
#EAF781 #81AFF7 #C981F7
monochromatic
#D6EE0F #E0F347 #EAF781 #F4FBBB #FAFDE2

Accessibility & contrast

On white

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

On black

18.12
#EAF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF781
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF781#FFFFFF#000000##000000
##EAF7811.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED77
Deuteranopia (green-blind)
#FFEF87
Tritanopia (blue-blind)
#F6EBDC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf781;
/* rgb */ color: rgb(234, 247, 129);
/* oklch */ color: oklch(94.2% 0.143 114.4);
Tailwind
colors: {
  custom: {
    50: '#f3f9a8',
    500: '#eaf781',
    950: '#000000',
  },
}
SCSS
$custom: #eaf781;
$custom-light: #f3f9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf781",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 66.61,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94227,
    "c": 0.14315,
    "h": 114.4
  },
  "luminance": 0.85599
}

Semantic roles & 50–950 ramp

primary
#EAF781
secondary
#5849D4
accent
#01E51A
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAF781

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

Preview Lab → · Contrast checker → · Palette generator →

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