#EAF88C#EAF88C

#EAF88C is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.6% C 0.133 H 115.1°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#EAF88C
RGBrgb(234, 248, 140)
HSLhsl(68, 89%, 76%)
HSVhsv(68, 44%, 97%)
CMYKcmyk(5.6%, 0%, 43.5%, 2.7%)
CIE-LABlab(94.53, -20.16, 50.14)
CIE-LCHlch(94.53, 54.04, 111.90°)
OKLaboklab(94.58% -0.0564 0.1208)
OKLCHoklch(94.58% 0.133 115.1)
XYZxyz(72.2335, 86.5215, 37.7009)
Luminance0.8652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF88C #9A8CF8
analogous
#F8D08C #EAF88C #B4F88C
triadic
#EAF88C #8CEAF8 #F88CEA
tetradic
#EAF88C #8CF8D0 #9A8CF8 #F88CB4
square
#EAF88C #8CF8D0 #9A8CF8 #F88CB4
split-complementary
#EAF88C #8CB4F8 #D08CF8
monochromatic
#D5F119 #DFF452 #EAF88C #F5FCC6 #FAFDE2

Accessibility & contrast

On white

1.15
#EAF88C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#EAF88C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF88C
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF88C#FFFFFF#000000##000000
##EAF88C1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE83
Deuteranopia (green-blind)
#FFF091
Tritanopia (blue-blind)
#F5EDDE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf88c;
/* rgb */ color: rgb(234, 248, 140);
/* oklch */ color: oklch(94.6% 0.133 115.1);
Tailwind
colors: {
  custom: {
    50: '#f2faaf',
    500: '#eaf88c',
    950: '#000000',
  },
}
SCSS
$custom: #eaf88c;
$custom-light: #f2faaf;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf88c",
  "rgb": {
    "r": 234,
    "g": 248,
    "b": 140
  },
  "hsl": {
    "h": 67.778,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94584,
    "c": 0.13331,
    "h": 115.1
  },
  "luminance": 0.86521
}

Semantic roles & 50–950 ramp

primary
#EAF88C
secondary
#6352D6
accent
#00E51E
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAF88C

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

Preview Lab → · Contrast checker → · Palette generator →

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