#EAF86C#EAF86C

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

Color values

HEX#EAF86C
RGBrgb(234, 248, 108)
HSLhsl(66, 91%, 70%)
HSVhsv(66, 56%, 97%)
CMYKcmyk(5.6%, 0%, 56.5%, 2.7%)
CIE-LABlab(94.19, -22.97, 64.28)
CIE-LCHlch(94.19, 68.27, 109.67°)
OKLaboklab(94.2% -0.0674 0.1489)
OKLCHoklch(94.2% 0.163 114.3)
XYZxyz(70.2073, 85.7111, 27.0299)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF86C #7A6CF8
analogous
#F8C06C #EAF86C #A4F86C
triadic
#EAF86C #6CEAF8 #F86CEA
tetradic
#EAF86C #6CF8C0 #7A6CF8 #F86CA4
square
#EAF86C #6CF8C0 #7A6CF8 #F86CA4
split-complementary
#EAF86C #6CA4F8 #C06CF8
monochromatic
#CADF0B #E2F532 #EAF86C #F2FBA6 #FBFEE1

Accessibility & contrast

On white

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

On black

18.14
#EAF86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF86C
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF86C#FFFFFF#000000##000000
##EAF86C1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#F7EBDA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf86c;
/* rgb */ color: rgb(234, 248, 108);
/* oklch */ color: oklch(94.2% 0.163 114.3);
Tailwind
colors: {
  custom: {
    50: '#f3fa9b',
    500: '#eaf86c',
    950: '#000000',
  },
}
SCSS
$custom: #eaf86c;
$custom-light: #f3fa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf86c",
  "rgb": {
    "r": 234,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 66,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94196,
    "c": 0.16341,
    "h": 114.3
  },
  "luminance": 0.8571
}

Semantic roles & 50–950 ramp

primary
#EAF86C
secondary
#4636D2
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EAF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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