#EAF986#EAF986

#EAF986 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.7% C 0.141 H 115.3°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#EAF986
RGBrgb(234, 249, 134)
HSLhsl(68, 91%, 75%)
HSVhsv(68, 46%, 98%)
CMYKcmyk(6%, 0%, 46.2%, 2.4%)
CIE-LABlab(94.72, -21.23, 53.20)
CIE-LCHlch(94.72, 57.28, 111.75°)
OKLaboklab(94.71% -0.06 0.1272)
OKLCHoklch(94.71% 0.141 115.3)
XYZxyz(72.1113, 86.9659, 35.5369)
Luminance0.8697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF986 #9586F9
analogous
#F9CE86 #EAF986 #B1F986
triadic
#EAF986 #86EAF9 #F986EA
tetradic
#EAF986 #86F9CE #9586F9 #F986B1
square
#EAF986 #86F9CE #9586F9 #F986B1
split-complementary
#EAF986 #86B1F9 #CE86F9
monochromatic
#D6F311 #E0F64C #EAF986 #F4FCC0 #FAFEE2

Accessibility & contrast

On white

1.14
#EAF986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.39
#EAF986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF986
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF986#FFFFFF#000000##000000
##EAF9861.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7C
Deuteranopia (green-blind)
#FFF18C
Tritanopia (blue-blind)
#F6EEDE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eaf986;
/* rgb */ color: rgb(234, 249, 134);
/* oklch */ color: oklch(94.7% 0.141 115.3);
Tailwind
colors: {
  custom: {
    50: '#f2fbab',
    500: '#eaf986',
    950: '#000000',
  },
}
SCSS
$custom: #eaf986;
$custom-light: #f2fbab;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf986",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 134
  },
  "hsl": {
    "h": 67.826,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94712,
    "c": 0.14063,
    "h": 115.3
  },
  "luminance": 0.86965
}

Semantic roles & 50–950 ramp

primary
#EAF986
secondary
#5E4CD7
accent
#00E61E
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAF986

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

Preview Lab → · Contrast checker → · Palette generator →

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