#EAF786#EAF786

#EAF786 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.3% C 0.138 H 114.5°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#EAF786
RGBrgb(234, 247, 134)
HSLhsl(67, 88%, 75%)
HSVhsv(67, 46%, 97%)
CMYKcmyk(5.3%, 0%, 45.7%, 3.1%)
CIE-LABlab(94.20, -20.27, 52.56)
CIE-LCHlch(94.20, 56.34, 111.09°)
OKLaboklab(94.29% -0.0573 0.1258)
OKLCHoklch(94.29% 0.138 114.5)
XYZxyz(71.4965, 85.7361, 35.3320)
Luminance0.8573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF786 #9386F7
analogous
#F7CC86 #EAF786 #B1F786
triadic
#EAF786 #86EAF7 #F786EA
tetradic
#EAF786 #86F7CC #9386F7 #F786B1
square
#EAF786 #86F7CC #9386F7 #F786B1
split-complementary
#EAF786 #86B1F7 #CC86F7
monochromatic
#D6EF13 #E0F34D #EAF786 #F4FBBF #FAFDE2

Accessibility & contrast

On white

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

On black

18.15
#EAF786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF786
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF786#FFFFFF#000000##000000
##EAF7861.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7C
Deuteranopia (green-blind)
#FFEF8C
Tritanopia (blue-blind)
#F6ECDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf786;
/* rgb */ color: rgb(234, 247, 134);
/* oklch */ color: oklch(94.3% 0.138 114.5);
Tailwind
colors: {
  custom: {
    50: '#f2f9ab',
    500: '#eaf786',
    950: '#000000',
  },
}
SCSS
$custom: #eaf786;
$custom-light: #f2f9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf786",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 134
  },
  "hsl": {
    "h": 66.903,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94293,
    "c": 0.1382,
    "h": 114.5
  },
  "luminance": 0.85735
}

Semantic roles & 50–950 ramp

primary
#EAF786
secondary
#5C4DD4
accent
#01E41B
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAF786

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

Preview Lab → · Contrast checker → · Palette generator →

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