#EAF877#EAF877

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

Color values

HEX#EAF877
RGBrgb(234, 248, 119)
HSLhsl(67, 90%, 72%)
HSVhsv(67, 52%, 97%)
CMYKcmyk(5.6%, 0%, 52%, 2.7%)
CIE-LABlab(94.30, -22.10, 59.58)
CIE-LCHlch(94.30, 63.54, 110.35°)
OKLaboklab(94.32% -0.0638 0.1399)
OKLCHoklch(94.32% 0.154 114.5)
XYZxyz(70.8301, 85.9602, 30.3099)
Luminance0.8596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF877 #8577F8
analogous
#F8C677 #EAF877 #A9F877
triadic
#EAF877 #77EAF8 #F877EA
tetradic
#EAF877 #77F8C6 #8577F8 #F877A9
square
#EAF877 #77F8C6 #8577F8 #F877A9
split-complementary
#EAF877 #77A9F8 #C677F8
monochromatic
#D1E90C #E1F53D #EAF877 #F3FBB1 #FBFEE2

Accessibility & contrast

On white

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

On black

18.19
#EAF877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF877
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF877#FFFFFF#000000##000000
##EAF8771.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eaf877;
/* rgb */ color: rgb(234, 248, 119);
/* oklch */ color: oklch(94.3% 0.154 114.5);
Tailwind
colors: {
  custom: {
    50: '#f3faa2',
    500: '#eaf877',
    950: '#000000',
  },
}
SCSS
$custom: #eaf877;
$custom-light: #f3faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf877",
  "rgb": {
    "r": 234,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 66.512,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94315,
    "c": 0.15377,
    "h": 114.5
  },
  "luminance": 0.85959
}

Semantic roles & 50–950 ramp

primary
#EAF877
secondary
#503FD4
accent
#00E619
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF877

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

Preview Lab → · Contrast checker → · Palette generator →

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