#EAF795#EAF795

#EAF795 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.5% C 0.123 H 115.0°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#EAF795
RGBrgb(234, 247, 149)
HSLhsl(68, 86%, 78%)
HSVhsv(68, 40%, 97%)
CMYKcmyk(5.3%, 0%, 39.7%, 3.1%)
CIE-LABlab(94.39, -18.73, 45.63)
CIE-LCHlch(94.39, 49.32, 112.32°)
OKLaboklab(94.51% -0.0517 0.1111)
OKLCHoklch(94.51% 0.123 115)
XYZxyz(72.6178, 86.1847, 41.2377)
Luminance0.8618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF795 #A295F7
analogous
#F7D395 #EAF795 #B9F795
triadic
#EAF795 #95EAF7 #F795EA
tetradic
#EAF795 #95F7D3 #A295F7 #F795B9
square
#EAF795 #95F7D3 #A295F7 #F795B9
split-complementary
#EAF795 #95B9F7 #D395F7
monochromatic
#D3EE23 #DFF35C #EAF795 #F5FBCE #F9FDE3

Accessibility & contrast

On white

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

On black

18.24
#EAF795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF795
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF795#FFFFFF#000000##000000
##EAF7951.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8D
Deuteranopia (green-blind)
#FFF09A
Tritanopia (blue-blind)
#F4EDDF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf795;
/* rgb */ color: rgb(234, 247, 149);
/* oklch */ color: oklch(94.5% 0.123 115.0);
Tailwind
colors: {
  custom: {
    50: '#f2f9b5',
    500: '#eaf795',
    950: '#000000',
  },
}
SCSS
$custom: #eaf795;
$custom-light: #f2f9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf795",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 67.959,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.94508,
    "c": 0.12256,
    "h": 115
  },
  "luminance": 0.86184
}

Semantic roles & 50–950 ramp

primary
#EAF795
secondary
#6B5AD6
accent
#03E221
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAF795

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

Preview Lab → · Contrast checker → · Palette generator →

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