#EAF96C#EAF96C

#EAF96C is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.4% C 0.165 H 114.7°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#EAF96C
RGBrgb(234, 249, 108)
HSLhsl(66, 92%, 70%)
HSVhsv(66, 57%, 98%)
CMYKcmyk(6%, 0%, 56.6%, 2.4%)
CIE-LABlab(94.45, -23.45, 64.58)
CIE-LCHlch(94.45, 68.70, 109.96°)
OKLaboklab(94.41% -0.0687 0.1495)
OKLCHoklch(94.41% 0.165 114.7)
XYZxyz(70.5156, 86.3276, 27.1326)
Luminance0.8633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF96C #7B6CF9
analogous
#F9C26C #EAF96C #A3F96C
triadic
#EAF96C #6CEAF9 #F96CEA
tetradic
#EAF96C #6CF9C2 #7B6CF9 #F96CA3
square
#EAF96C #6CF9C2 #7B6CF9 #F96CA3
split-complementary
#EAF96C #6CA3F9 #C26CF9
monochromatic
#CAE109 #E2F731 #EAF96C #F2FBA7 #FBFEE2

Accessibility & contrast

On white

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

On black

18.27
#EAF96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF96C
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF96C#FFFFFF#000000##000000
##EAF96C1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5D
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#F7ECDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf96c;
/* rgb */ color: rgb(234, 249, 108);
/* oklch */ color: oklch(94.4% 0.165 114.7);
Tailwind
colors: {
  custom: {
    50: '#f3fb9b',
    500: '#eaf96c',
    950: '#000000',
  },
}
SCSS
$custom: #eaf96c;
$custom-light: #f3fb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf96c",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 66.383,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.94407,
    "c": 0.16455,
    "h": 114.7
  },
  "luminance": 0.86326
}

Semantic roles & 50–950 ramp

primary
#EAF96C
secondary
#4636D4
accent
#00E618
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EAF96C

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

Preview Lab → · Contrast checker → · Palette generator →

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