#EAF875#EAF875

#EAF875 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.3% C 0.156 H 114.5°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#EAF875
RGBrgb(234, 248, 117)
HSLhsl(66, 90%, 72%)
HSVhsv(66, 53%, 97%)
CMYKcmyk(5.6%, 0%, 52.8%, 2.7%)
CIE-LABlab(94.28, -22.27, 60.45)
CIE-LCHlch(94.28, 64.42, 110.22°)
OKLaboklab(94.29% -0.0645 0.1416)
OKLCHoklch(94.29% 0.156 114.5)
XYZxyz(70.7113, 85.9126, 29.6840)
Luminance0.8591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF875 #8375F8
analogous
#F8C575 #EAF875 #A9F875
triadic
#EAF875 #75EAF8 #F875EA
tetradic
#EAF875 #75F8C5 #8375F8 #F875A9
square
#EAF875 #75F8C5 #8375F8 #F875A9
split-complementary
#EAF875 #75A9F8 #C575F8
monochromatic
#CFE70C #E1F53B #EAF875 #F3FBAF #FBFEE2

Accessibility & contrast

On white

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

On black

18.18
#EAF875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF875
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF875#FFFFFF#000000##000000
##EAF8751.001.1518.1818.18
#FFFFFF1.151.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED68
Deuteranopia (green-blind)
#FFF07C
Tritanopia (blue-blind)
#F7ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf875;
/* rgb */ color: rgb(234, 248, 117);
/* oklch */ color: oklch(94.3% 0.156 114.5);
Tailwind
colors: {
  custom: {
    50: '#f3faa0',
    500: '#eaf875',
    950: '#000000',
  },
}
SCSS
$custom: #eaf875;
$custom-light: #f3faa0;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf875",
  "rgb": {
    "r": 234,
    "g": 248,
    "b": 117
  },
  "hsl": {
    "h": 66.412,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94293,
    "c": 0.15558,
    "h": 114.5
  },
  "luminance": 0.85912
}

Semantic roles & 50–950 ramp

primary
#EAF875
secondary
#4E3ED3
accent
#00E619
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF875

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

Preview Lab → · Contrast checker → · Palette generator →

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