#EAF96B#EAF96B

#EAF96B 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.26:1 contrast (WCAG AA passes).

Color values

HEX#EAF96B
RGBrgb(234, 249, 107)
HSLhsl(66, 92%, 70%)
HSVhsv(66, 57%, 98%)
CMYKcmyk(6%, 0%, 57%, 2.4%)
CIE-LABlab(94.44, -23.52, 65.00)
CIE-LCHlch(94.44, 69.12, 109.90°)
OKLaboklab(94.4% -0.069 0.1503)
OKLCHoklch(94.4% 0.165 114.7)
XYZxyz(70.4627, 86.3064, 26.8540)
Luminance0.8630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF96B #7A6BF9
analogous
#F9C16B #EAF96B #A3F96B
triadic
#EAF96B #6BEAF9 #F96BEA
tetradic
#EAF96B #6BF9C1 #7A6BF9 #F96BA3
square
#EAF96B #6BF9C1 #7A6BF9 #F96BA3
split-complementary
#EAF96B #6BA3F9 #C16BF9
monochromatic
#CAE009 #E2F730 #EAF96B #F2FBA6 #FBFEE1

Accessibility & contrast

On white

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

On black

18.26
#EAF96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF96B
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF96B#FFFFFF#000000##000000
##EAF96B1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eaf96b;
/* rgb */ color: rgb(234, 249, 107);
/* oklch */ color: oklch(94.4% 0.165 114.7);
Tailwind
colors: {
  custom: {
    50: '#f3fb9a',
    500: '#eaf96b',
    950: '#000000',
  },
}
SCSS
$custom: #eaf96b;
$custom-light: #f3fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf96b",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 107
  },
  "hsl": {
    "h": 66.338,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94397,
    "c": 0.16537,
    "h": 114.7
  },
  "luminance": 0.86305
}

Semantic roles & 50–950 ramp

primary
#EAF96B
secondary
#4635D3
accent
#00E618
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EAF96B

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

Preview Lab → · Contrast checker → · Palette generator →

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