#EAF77B#EAF77B

#EAF77B is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.2% C 0.149 H 114.2°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#EAF77B
RGBrgb(234, 247, 123)
HSLhsl(66, 89%, 73%)
HSVhsv(66, 50%, 97%)
CMYKcmyk(5.3%, 0%, 50.2%, 3.1%)
CIE-LABlab(94.07, -21.28, 57.51)
CIE-LCHlch(94.07, 61.32, 110.31°)
OKLaboklab(94.15% -0.0611 0.1358)
OKLCHoklch(94.15% 0.149 114.2)
XYZxyz(70.7688, 85.4451, 31.4996)
Luminance0.8544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF77B #887BF7
analogous
#F7C67B #EAF77B #ACF77B
triadic
#EAF77B #7BEAF7 #F77BEA
tetradic
#EAF77B #7BF7C6 #887BF7 #F77BAC
square
#EAF77B #7BF7C6 #887BF7 #F77BAC
split-complementary
#EAF77B #7BACF7 #C67BF7
monochromatic
#D2E90E #E1F441 #EAF77B #F3FAB5 #FAFDE2

Accessibility & contrast

On white

1.16
#EAF77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#EAF77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF77B
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF77B#FFFFFF#000000##000000
##EAF77B1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6F
Deuteranopia (green-blind)
#FFEF82
Tritanopia (blue-blind)
#F7EBDB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf77b;
/* rgb */ color: rgb(234, 247, 123);
/* oklch */ color: oklch(94.2% 0.149 114.2);
Tailwind
colors: {
  custom: {
    50: '#f3f9a4',
    500: '#eaf77b',
    950: '#000000',
  },
}
SCSS
$custom: #eaf77b;
$custom-light: #f3f9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf77b",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 123
  },
  "hsl": {
    "h": 66.29,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94153,
    "c": 0.14889,
    "h": 114.2
  },
  "luminance": 0.85444
}

Semantic roles & 50–950 ramp

primary
#EAF77B
secondary
#5243D3
accent
#00E518
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF77B

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

Preview Lab → · Contrast checker → · Palette generator →

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